weird problem
#2

pawn Code:
CMD:getstats(playerid, params[])
{
    if(PlayerData[playerid][AdminLevel] < 1) return 0;
    GetPlayerName(playerid,pname,sizeof(pname));
    format(str, sizeof(str), "Name: %s\n\nAdmin Level: %d\n\nVip Level: %d\n\nHours: %d\n\nMinutes: %d\n\nBank Balance: %d",pname,PlayerData[playerid][AdminLevel],PlayerData[playerid][vip],PlayerData[playerid][HoursPlayed],PlayerData[playerid][MinutesPlayed],PlayerData[playerid][Bank]);
    ShowPlayerDialog(playerid,10001,DIALOG_STYLE_MSGBOX, "Stats",str,"Close","");
    return 1;
}
Reply


Messages In This Thread
weird problem - by Tanush123 - 24.08.2011, 18:38
Re: weird problem - by =WoR=Varth - 24.08.2011, 18:40
Re: weird problem - by grand.Theft.Otto - 24.08.2011, 18:42
Re: weird problem - by =WoR=Varth - 24.08.2011, 18:45
Re: weird problem - by Tanush123 - 24.08.2011, 19:12

Forum Jump:


Users browsing this thread: 2 Guest(s)