15.07.2010, 05:52
sonething like
how's that
Код:
at the top: new bool:tut[MAX_PLAYERS]; under:onplayerconnect(playerid) { tut[playerid]=true; } under: onplayerrequestclass(... ) { if(tut[playerid] == true){ SetPlayerPos(playid,x,y,z); TogglePlayerSpectating(playerid,true); //say stuff textdraws whatever } } //---------------------------------------- //then to stop it go tut[playerid] = false; TogglePlayerSpectating(playerid,false); ForceClassSelection(playerid); SpawnPlayer(playerid); //not 100% if this is required or not