Need help in /switchclass
#1

Guys i made a /sc (switch class) cmd. But when i type /sc to change class, dialog appears which is great from which i can choose class. But when i choose my next class like sniper, pilot or medic weapons got mixed. Previous class weapons gets mix with next class weapons. Why this is happening.
Please i need help. Help me

Here are my Codes:

pawn Код:
CMD:sc(playerid,params[])
    {
    SetPlayerHealth(playerid,0);
    TogglePlayerControllable(playerid, 0);
    SendClientMessage(playerid, COLOR_BLUE, "You can Now Choose your Class!");
    ShowPlayerDialog(playerid, 999, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Assault Class  (Need No Rank)  \nSniper Class  (Need Rank 2) \nMedic Class  (Need Rank 3)  \nEngineer Class  (Need Rank 4) \nMercenary Class  (Need Rank 5 )  \nJet-Trooper Class  (Need Rank 7)  \nPilot Class  (Need Rank 8) ", "Choose","");
    SetPlayerVirtualWorld(playerid, 0);
    return 1;
}
Reply


Messages In This Thread
Need help in /switchclass - by iOmar - 16.08.2012, 20:19
Re: Need help in /switchclass - by Sandiel - 16.08.2012, 20:28
Re: Need help in /switchclass - by iOmar - 16.08.2012, 23:13
Re: Need help in /switchclass - by CROSS_Hunter - 16.08.2012, 23:58
Re: Need help in /switchclass - by iOmar - 17.08.2012, 01:15
Re: Need help in /switchclass - by CROSS_Hunter - 17.08.2012, 01:28
Re: Need help in /switchclass - by iOmar - 17.08.2012, 07:15
Re: Need help in /switchclass - by iOmar - 17.08.2012, 07:25
Re: Need help in /switchclass - by Dan. - 17.08.2012, 08:50
Re: Need help in /switchclass - by iOmar - 17.08.2012, 09:58

Forum Jump:


Users browsing this thread: 3 Guest(s)