The choice of class - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: The choice of class (
/showthread.php?tid=497758)
The choice of class -
Nikid - 28.02.2014
how to disable interactive selection?
<< Spawn >>
Re: The choice of class -
Stanford - 28.02.2014
I believe that spawning the player will prevent from letting that happen
Re: The choice of class -
zombieking - 28.02.2014
TogglePlayerSpectating
Re: The choice of class -
Nikid - 28.02.2014
Quote:
Originally Posted by zombieking
TogglePlayerSpectating
|
PHP код:
public OnPlayerRequestClass(playerid, classid){
TogglePlayerSpectating(playerid, 0);
SetSpawnInfo(playerid, playerid, SKIN_MAN, Spawns[0], Spawns[1], Spawns[2], 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return 0;
}
nothing happens
Re: The choice of class -
zombieking - 01.03.2014
pawn Код:
TogglePlayerSpectating(playerid, 1);