Problem :|
#2

Does those lines:
PHP код:
new name[MAX_PLAYER_NAME],file[80];GetPlayerName(playeridnamesizeof(name));format(file,sizeof(file),"%s.txt",name);
    
INI_ParseFile(file"PlayerStatusClass"falsetrueplayeridtruefalse );
    new 
ClassInfo[20]; GetPVarString(playerid"SoldierInfo"ClassInfosizeof ClassInfo);
    if(!
strcmp("Soldier",ClassInfo,true))
        {
            
ShowPlayerDialog(playerid,WeaponShop ,DIALOG_STYLE_MSGBOX,"bla bla","|Soldier|","Buy","Cancel");
            new 
string[128]; format(string,sizeof(string),"levelNow: %d",ClassInfo); //i got this so i can see if the player is a Soldier.
            
SendClientMessage(playerid,YELLOW,string);//  But it allways Prints [levelNow: 0] :(
        
}
        else
        {
            
ShowPlayerDialog(playerid,WeaponShop ,DIALOG_STYLE_MSGBOX,"bla bal",""xRED"Nothing Found","Buy","Cancel");
        } 
Go into any public or stock?
Reply


Messages In This Thread
Problem :| - by park4bmx - 19.04.2011, 17:18
Re: Problem :| - by nuriel8833 - 19.04.2011, 17:24
Re: Problem :| - by park4bmx - 19.04.2011, 17:26
Re: Problem :| - by nuriel8833 - 19.04.2011, 17:35
Re: Problem :| - by park4bmx - 19.04.2011, 17:38
Re: Problem :| - by nuriel8833 - 19.04.2011, 17:39

Forum Jump:


Users browsing this thread: 3 Guest(s)