Jump to content
  • 0

pomoc House system by QWER


Mivčo

Dotaz

Sojte Všetci ;)

QWER House System je chybný ked pridem do domu a chcem si ulozit peniaze a zbrane skin a tak ale ked idem vonka s domu sa mi potom neukažu ziadné auta ziadné objekty proste nič ked chcem aby sa mi to zobrazilo musim dat /kill prosim ked može mat QWER chybu dakujem tu je cod :)

http://pastebin.com/Vabk2zvx

Link to comment
Share on other sites

9 odpovědí na tuto otázku

Recommended Posts

  • 0

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == 16)
{
if(InHouse[playerid] != -1 && !ShowedPlayerDialog[playerid]){
new HouseId = InHouse[playerid];
new TYPE = HouseInfo[HouseId][intTyp];
if(IsPlayerInRangeOfPoint(playerid,10,HouseInterior[TYPE][i_X],HouseInterior[TYPE][i_Y],HouseInterior[TYPE][i_Z]))
{
SetPlayerPos(playerid,HouseInfo[HouseId][p_X],HouseInfo[HouseId][p_Y],HouseInfo[HouseId][p_Z]);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
InHouse[playerid] = -1;
}
}
}
return 1;
}

 

takto?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...