simple change team command - 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: simple change team command (
/showthread.php?tid=606354)
simple change team command -
Fantje - 03.05.2016
Hey guys,
I need a command (I-ZCMD) which is like: /st and it bring you to the spawn selection ( just like f4 key )
Help me
Thank you
Re: simple change team command -
oMa37 - 03.05.2016
PHP код:
CMD:class(playerid, params[])
{
ForceClassSelection(playerid);
return 1;
}
Re: simple change team command -
F1N4L - 03.05.2016
Based in wiki:
PHP код:
CMD:class(playerid)
{
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, true);
TogglePlayerSpectating(playerid, false);
return 1;
}