SetPlayerTeam question
#6

Like the function name say SetPlayerTeam means to set player team (or change it)
If you use AddPlayerClass than when player select class his team id is set to NO_TEAM
But if you use AddPlayerClassEx than you have defined team id for that class (skin)

Here are some useful documentation for these functions
https://sampwiki.blast.hk/wiki/SetPlayerTeam
https://sampwiki.blast.hk/wiki/AddPlayerClass
https://sampwiki.blast.hk/wiki/AddPlayerClassEx

By the way players on same team can not kill each other ( No team kill )
Reply


Messages In This Thread
SetPlayerTeam question - by davve95 - 24.02.2012, 07:50
Re: SetPlayerTeam question - by Babul - 24.02.2012, 08:23
Re: SetPlayerTeam question - by davve95 - 24.02.2012, 09:47
Re: SetPlayerTeam question - by MP2 - 24.02.2012, 11:00
Re: SetPlayerTeam question - by davve95 - 24.02.2012, 12:02
Re: SetPlayerTeam question - by DRIFT_HUNTER - 24.02.2012, 12:12
Re : SetPlayerTeam question - by Steeve_Smith - 24.02.2012, 12:19
Re: SetPlayerTeam question - by davve95 - 24.02.2012, 13:44

Forum Jump:


Users browsing this thread: 2 Guest(s)