04.07.2009, 06:34
So i am working on a command to see if a player is in a certian place, and then if it is do some commands. But it does it for every where, how could i make this work?
Quote:
new Float, Float:y, Float:z; if(GetPlayerPos(playerid, x, y, z) == 315.745086,984.969299,1958.919067) { SetPlayerInterior(playerid, 9); GivePlayerWeapon(playerid, 45,1); if(GetPlayerTeam(playerid) == 2) { print ("A japanese has enterd ship"); } } |