Dialog depending on player's class
#1

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?
Reply
#2

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);
Reply
#3

ups, readed wrongly
Reply
#4

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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)