[HELP] Problem /stats
#7

I used you're code and i have another error:
Quote:

C:\Users\Nelson.Paulo2301-PC\Desktop\LoginRegister.pwn(53) : error 010: invalid function or declaration
C:\Users\Nelson.Paulo2301-PC\Desktop\LoginRegister.pwn(56) : error 021: symbol already defined: "format"
C:\Users\Nelson.Paulo2301-PC\Desktop\LoginRegister.pwn(5 : error 010: invalid function or declaration

Code:

Quote:

if(!strcmp(cmdtext, "/stats", true))
{
new string[500];
format(string,sizeof(string),"Password: %s | Money: %d | Deaths: %d | Kills: %d | Score: %d | Admin: %d ",PlayerInfo[playerid][pPass],PlayerInfo[playerid][pCash],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pScore],PlayerInfo[playerid][pAdmin]);
SendClientMessage(playerid,COLOR_GREEN,string);
return 1;
}

Reply


Messages In This Thread
[HELP] Problem /stats - by TheBoZ - 05.03.2016, 17:05
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 17:34
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 17:58
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 17:59
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:00
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 18:02
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:06
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 18:08
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:10
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 18:13
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:17
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 18:27
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:29
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 18:33
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 18:42
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 19:00
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 19:23
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 19:28
Re: [HELP] Problem /stats - by TheBoZ - 05.03.2016, 19:33
Re: [HELP] Problem /stats - by xEF - 05.03.2016, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)