13.04.2009, 17:40
Код:
new Float:Pos[3],Bank_A[MAX_PLAYERS]; if(strcmp(cmd,"/bank", true) ==0) { if(!Bank_A[playerid]) { GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SetPlayerPos(playerid,0,0,0); TogglePlayerControllable(playerid,false); Bank_A[playerid]=true; } else if(Bank_A[playerid]) { SetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); TogglePlayerControllable(playerid,true); Bank_A[playerid]=false; } return true; }