SA-MP Forums Archive
my stats command dont work getting much errors?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: my stats command dont work getting much errors?? (/showthread.php?tid=398155)



my stats command dont work getting much errors?? - Mustafa6155 - 08.12.2012

EDIT: I am out of it i got it please LOCK


Re: my stats command dont work getting much errors?? - Threshold - 08.12.2012

First of all, you have this:
pawn Код:
format(stats1...
format(stats1...
format(stats1...
where you should have:
pawn Код:
format(stats1...
format(stats2...
format(stats3...
Second of all, GetPlayerName(playerid), should be GetPlayerNameEx(playerid) on line 365.


Re: my stats command dont work getting much errors?? - Mustafa6155 - 08.12.2012

EDIT: I am out of it i got it please LOCK


Re: my stats command dont work getting much errors?? - Lordzy - 08.12.2012

While formatting strings, use "PlayerInfo[playerid]...." instead of "pInfo[playerid]...".


Re: my stats command dont work getting much errors?? - Mustafa6155 - 08.12.2012

So i need to change pInfo to PlayerInfo


Re: my stats command dont work getting much errors?? - BrandyPenguin - 08.12.2012

Change all:
pInfo[playerid]
to:
PlayerInfo[playerid]


Re: my stats command dont work getting much errors?? - Alcatraz Gaming - 08.12.2012

You did a ] for a ;?


Re: my stats command dont work getting much errors?? - Mustafa6155 - 08.12.2012

EDIT: I am out of it i got it please LOCK