/stats command
#8

I get some errors..
PHP Code:
CMD:stats(playerid,params[]){
{
    if(
IsPlayerConnected(playerid))
    {
    new 
password PlayerInfo[playerid][pPass];
    new 
money PlayerInfo[playerid][pCash];
    new 
deaths PlayerInfo[playerid][pDeaths];
    new 
kills PlayerInfo[playerid][pKills];
    new 
score PlayerInfo[playerid][pScore];
    new 
admin PlayerInfo[playerid][pAdmin];
    new 
vip PlayerInfo[playerid][pVIP];
    new 
killpoints PlayerInfo[playerid][pKillPoints];
    new 
string[500];
    
format(string,sizeof(string),"Password: %s | Money: %d | Deaths: %d | Kills: %d | Score: %d | Admin: %d | VIP: %d | Killpoints: %d",password,money,deaths,kills,score,admin,vip,killpoints);
    
SendClientMessage(playerid,COLOR_WHITE,string);
    }
    return 
1;

Code:
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(192) : error 017: undefined symbol "UserPath"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(194) : error 017: undefined symbol "UserPath"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(205) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(217) : error 017: undefined symbol "UserPath"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(228) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(590) : error 017: undefined symbol "UserPath"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(592) : error 017: undefined symbol "udb_hash"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(613) : error 017: undefined symbol "udb_hash"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(615) : error 017: undefined symbol "UserPath"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(650) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(652) : warning 225: unreachable code
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(652) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(652) : error 017: undefined symbol "cmd_msg"
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(652) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Customer\Desktop\GameMode\gamemodes\gangwar.pwn(652) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply


Messages In This Thread
/stats command - by Azzeto - 13.10.2011, 18:14
Re: /stats command - by MonkZemun - 13.10.2011, 18:19
Re: /stats command - by Azzeto - 13.10.2011, 18:21
Re: /stats command - by MonkZemun - 13.10.2011, 18:28
Re: /stats command - by Azzeto - 13.10.2011, 18:30
Re: /stats command - by Giovanni - 13.10.2011, 18:32
Re: /stats command - by Azzeto - 13.10.2011, 18:36
Re: /stats command - by Azzeto - 13.10.2011, 18:54
Re: /stats command - by SmiT - 13.10.2011, 19:14
Re: /stats command - by Kush - 13.10.2011, 19:29
Re: /stats command - by Azzeto - 13.10.2011, 19:40
Re: /stats command - by Pillhead2007 - 24.03.2013, 16:49
Re: /stats command - by ButlerSmcs - 29.07.2017, 10:11
Re: /stats command - by Fratello - 29.07.2017, 11:18

Forum Jump:


Users browsing this thread: 4 Guest(s)