Please help me Adding Player Class
#1

Hi i want to add this system in my server when player choose army skin it will show a error which says that you need 500 score then you can use this class so when player get 500 score then they able to choose army class please help he to adding this plzzz plzzz tell me codes of this script in my server army team class name is

else if(gTeam[playerid] == ARMY)

so how can i make it
Reply
#2

you should use OnPlayerRequestSpawn good luck
Reply
#3

thats not my question answer
Reply
#4

pawn Код:
if(gTeam[playerid] == ARMY)
{
    if(GetPlayerScore(playerid) >= 500)
    {
        // Spawn.
    }
    else
    {
        SendClientMessage(playerid,-1,"You need to have 500 score to use this class.");
    }
}
// Put this code under OnPlayerRequestSpawn
By the way typing PLZZZZZZZZZZZZZZZZZ 100x time wont make people help you it will make them leave the topic as soon as they could.
Reply
#5

Sir DaniceMcHarley can you help me through team viewer plzzz
Reply
#6

i did it but when i m choosing army skin it is spawning and showing a msg You need to have 500 score to use this class. but i want that the if player dont have 500 score then they cant choose this skin but your code not working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)