SA-MP Forums Archive
How could I create teams using AddPlayerClassEx - 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: How could I create teams using AddPlayerClassEx (/showthread.php?tid=537821)



How could I create teams using AddPlayerClassEx - DownDuckling - 18.09.2014

^title.


AW: How could I create teams using AddPlayerClassEx - Nero_3D - 18.09.2014

I am not even sure if this is a serious question but well

Just put some number in for the teamid ... it is the first parameter
pawn Код:
// Team 1
    AddPlayerClassEx(1, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(1, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(1, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
// Team 2
    AddPlayerClassEx(2, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(2, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    AddPlayerClassEx(2, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);