SA-MP Forums Archive
Defining A Team - 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: Defining A Team (/showthread.php?tid=255615)



Defining A Team - Sid_Alexander - 16.05.2011

Alright, SO i wanna know how can i define a skin 285 as a gCopplayer? cuz i have gCopplayer spawns


Re: Defining A Team - Seven_of_Nine - 16.05.2011

AddPlayerClassEx, and you check the player's team id..


Re: Defining A Team - Sid_Alexander - 16.05.2011

Well, Is this it?

pawn Код:
if (iSpawnSet[playerid] == 1)



Re: Defining A Team - shitbird - 16.05.2011

Read the tutorial on wiki. It'll teach you how to.

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


Re: Defining A Team - Sid_Alexander - 16.05.2011

Quote:
Originally Posted by shitbird
Посмотреть сообщение
Read the tutorial on wiki. It'll teach you how to.

https://sampwiki.blast.hk/wiki/PAWN_tutorial
ok i will


Re: Defining A Team - Sid_Alexander - 16.05.2011

Quote:
Originally Posted by shitbird
Посмотреть сообщение
Read the tutorial on wiki. It'll teach you how to.

https://sampwiki.blast.hk/wiki/PAWN_tutorial
i have a gRandomplayerspawns and gCoppplayerspawns only


Re: Defining A Team - shitbird - 16.05.2011

What method are you using? ie. Where do you define the teams, where do you apply the playerid to a team?