/setadminlevel /setviplevel
#9

pawn Код:
CMD:stats(playerid,o[])
{
    new string[500] , pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    new Float:ratio[MAX_PLAYERS]=PlayerInfo[playerid][pKills]/PlayerInfo[playerid][pDeaths];
    format(string,sizeof(string),"-----------------STATS-----------------");
    SendClientMessage(playerid, YELLOW,string);
    format(string,sizeof(string),"* Stats Of %s *",pName);
    SendClientMessage(playerid, BLUE,string);
    format(string,sizeof(string),"Password: %s | Cash: %d | Deaths: %d | Kills: %d | Ratio: %d | Score: %d | Admin: %d |",pPass,pCash,pDeaths,pKills,ratio,pScores,pAdminLevel);
    SendClientMessage(playerid,BLUE,string);
    format(string,sizeof(string),"-----------------STATS-----------------");
    SendClientMessage(playerid,YELLOW,string);
    return 1;
}
Error:
Quote:

error 008: must be a constant expression; assumed zero

Reply


Messages In This Thread
/setadminlevel /setviplevel - by Giroud12 - 30.05.2013, 07:08
Re: /setadminlevel /setviplevel - by DaRk_RaiN - 30.05.2013, 07:21
Re: /setadminlevel /setviplevel - by Giroud12 - 30.05.2013, 07:27
Re: /setadminlevel /setviplevel - by DaRk_RaiN - 30.05.2013, 07:29
Re: /setadminlevel /setviplevel - by Giroud12 - 30.05.2013, 07:33
Re: /setadminlevel /setviplevel - by Abhishek. - 30.05.2013, 07:37
Re: /setadminlevel /setviplevel - by Giroud12 - 30.05.2013, 07:38
Re: /setadminlevel /setviplevel - by Abhishek. - 30.05.2013, 07:43
Re: /setadminlevel /setviplevel - by Giroud12 - 30.05.2013, 07:45
Re: /setadminlevel /setviplevel - by DobbysGamertag - 30.05.2013, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)