SA-MP Forums Archive
[HELP] About 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] About AddPlayerClassEx (/showthread.php?tid=234499)



[HELP] About AddPlayerClassEx - tuuker - 03.03.2011

pawn Code:
AddPlayerClassEx(15, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
(teamid, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
Im not sure how sould i get that Team id?


Re: [HELP] About AddPlayerClassEx - JaTochNietDan - 03.03.2011

Using the GetPlayerTeam function:

https://sampwiki.blast.hk/wiki/GetPlayerTeam


Re: [HELP] About AddPlayerClassEx - tuuker - 03.03.2011

ahh nvm thats not really that what i hoped.


AW: [HELP] About AddPlayerClassEx - Nero_3D - 03.03.2011

Use AddPlayerClass if you dont want teams

Quote:
Originally Posted by wiki/AddPlayerClassEx
This function is exactly the same as the AddPlayerClass function, with the addition of a team parameter.
Or just take random different numbers