SA-MP Forums Archive
creating teams - 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)
+--- Thread: creating teams (/showthread.php?tid=527771)



creating teams - SpikY_ - 24.07.2014

Hello everyone .. i have a map for tdm and i dnt know how to create teams .. so plz help me i want to make teams in dialog_style_list .. when we type /tdm1 so show them a dialog then they select teams whtever they want .


Re: creating teams - Stinged - 24.07.2014

I just wish if everyone would search before making scripting help topics.

https://sampforum.blast.hk/showthread.php?tid=282178
https://sampforum.blast.hk/showthread.php?tid=339571
https://sampforum.blast.hk/showthread.php?tid=107762
https://sampforum.blast.hk/showthread.php?tid=273529
https://sampforum.blast.hk/showthread.php?tid=107426


Re: creating teams - SpikY_ - 24.07.2014

no no .. i want in dialog_style_list .. tht all in onplayerconnect/onplayerspawn


AW: creating teams - Oskaar1994 - 24.07.2014

Just make a string and format it with Team1,Team2, etc. Then under OnDialogResponse set the player's team for example with a PVar (SetPVarInt(playerid,"Team",1).


Re: creating teams - SpikY_ - 24.07.2014

didn't understand .. can you show me codes .. please .. it will great for me