SA-MP Forums Archive
Can someone explain to me... - 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: Can someone explain to me... (/showthread.php?tid=238410)



Can someone explain to me... - ElChapoGuzman - 11.03.2011

the function of AddPlayerClassEx and a good example use of it? And whats the difference between addplayerclassex and creating a variable (teams)


Re: Can someone explain to me... - xir - 11.03.2011

https://sampwiki.blast.hk/wiki/AddPlayerClassEx ?


Re: Can someone explain to me... - ElChapoGuzman - 11.03.2011

Quote:
Originally Posted by xir
Посмотреть сообщение
wiki lol what was running thru my mind before this thread


Re: Can someone explain to me... - Kwarde - 11.03.2011

AddPlayerClassEx is the same as AddPlayerClass, but with AddPlayerClassEx is an extra parameters for teams (GetPlayerTeam, SetPlayerTeam)

AddPlayerClass parameters
Код:
(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
AddPlayerClassEx parameters
Код:
(teamid, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)