06.07.2011, 12:20
Can some one help me to do /pass cause i wasn't able to do it. This is my script i got 26 errors:
Thanks for the help =]
Karl1195
Код:
if(strcmp(cmd, "/pass", true) == 0) } if(IsPlayerConnected(playerid)) { if(!IsPlayerInRangeOfPoint(playerid,5,1450.8146,-1024.9728,2066.6331)) { SetPlayerPos(playerid, 1447.4244,-1023.3749,2054.1021); } SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported !"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; else { SendClientMessage(playerid, COLOR_GRAD1, " You are not at the bank vault !"); } } return 1; {
Karl1195