Dialog depending on player's class - 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: Dialog depending on player's class (
/showthread.php?tid=351918)
Dialog depending on player's class -
HeLiOn_PrImE - 17.06.2012
I made a spawn selection dialog for players, but since the server has 2 major teams I want different spawn points for each one. Is there any way I can check the player's class?
Re: Dialog depending on player's class -
tyler12 - 17.06.2012
GetPlayerTeam
pawn Код:
// Players who are in Team 1 should spawn at Las Venturas Airport.
if(GetPlayerTeam(playerid) == 1) SetPlayerPos( playerid, 1667.8909, 1405.5618, 10.7801);
Re: Dialog depending on player's class -
bleedis - 17.06.2012
ups, readed wrongly
Re: Dialog depending on player's class -
HeLiOn_PrImE - 17.06.2012
Quote:
Originally Posted by tyler12
GetPlayerTeam
pawn Код:
// Players who are in Team 1 should spawn at Las Venturas Airport. if(GetPlayerTeam(playerid) == 1) SetPlayerPos( playerid, 1667.8909, 1405.5618, 10.7801);
|
Thank you, i solved it..