19.10.2009, 15:31
Код:
if(!strcmp(cmdtext, "/vamasf", true)) { if(PlayerInfo[playerid][pPassport] == 1) if(PlayerInfo[playerid][pPasswort] == 0) return SendClientMessage(playerid, COLOR_RED, "You have a password?"); if(PlayerToPoint(2.0,playerid,-993.4935,-1006.3951,94.1104)) { SetObjectRot(vama1,2.5783, 21.4859, 225.8595); SetTimer("GateClose", 5000, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to San Fierro"); GivePlayerMoney(playerid,-50); return 1; }