[HELP] About AddPlayerClassEx
#1

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?
Reply
#2

Using the GetPlayerTeam function:

https://sampwiki.blast.hk/wiki/GetPlayerTeam
Reply
#3

ahh nvm thats not really that what i hoped.
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)