SA-MP Forums Archive
--== Some Help ==-- - 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: --== Some Help ==-- (/showthread.php?tid=374435)



--== Some Help ==-- - xSkullx - 02.09.2012

Hi everybody.
I have more of these code in my gm:
pawn Код:
format(string,sizeof(string),....
And i added the administraion system in my gm, and it have's a lot of local variabiles, wich i removed because it gives me a lot of errors. And now i make a global one and give's me errors to..
What i have to make to fix them?


Re: --== Some Help ==-- - R4VER - 02.09.2012

could you explain how the hell can guys help you without looking at script and knowing your errors!? :P


Re: --== Some Help ==-- - Luke_James - 02.09.2012

Post the errors and the lines of the script associated with these errors.


Re: --== Some Help ==-- - xSkullx - 03.09.2012

I receive many of these:
pawn Код:
local variable "string" shadows a variable at a preceding level
And i can't give you the lines...are to much..but them are the same
pawn Код:
format(string, 128, "You buyed an {FF0000}\"%s\" {FFFFFF}for {FF0000}%d{33AA33}${FFFFFF}.", item, cost );
    SendClientMessage( playerid, 0xFFFFFFFF, string );