If I compile the .amx file, it gives me warning. - 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: If I compile the .amx file, it gives me warning. (
/showthread.php?tid=435077)
If I compile the .amx file, it gives me warning. -
uTorrent - 05.05.2013
If i do not compile the file .amx, the gamemode works ... if I compile, it gives me warning.
Why? o:
Re: If I compile the .amx file, it gives me warning. -
RajatPawar - 05.05.2013
I think I can guess what the problem is without having a look at your code.
Show us the damn code!
EDIT: A second late
Re: If I compile the .amx file, it gives me warning. -
uTorrent - 05.05.2013
Warning are many, 135.
http://pastebin.com/gstQiz0i
Re: If I compile the .amx file, it gives me warning. -
BlazingKnife - 05.05.2013
Post your Code And Warnings Here
so we can See What the Problem is
Re: If I compile the .amx file, it gives me warning. -
IceCube! - 05.05.2013
It's most likely "Loose Indetation" which means your code is a damn mess. If it nags you use #pragma tabsize 0
Re: If I compile the .amx file, it gives me warning. -
[ABK]Antonio - 05.05.2013
Quote:
Originally Posted by IceCube!
It's most likely "Loose Indetation" which means your code is a damn mess. If it nags you use #pragma tabsize 0
|
or just create your own mode instead of someone elses and indent properly
Re: If I compile the .amx file, it gives me warning. -
uTorrent - 05.05.2013
PHP код:
public ycmd_toll(playerid, cmdtext[]) // warning 235: public function lacks forward declaration (symbol "ycmd_toll")
{
#if TollFS == 0
if(cmdtext[0] == 1) cmdtext[0] = 0;
if(!gPlayerLogged[playerid])
{
SendClientMessage(playerid, COLOR_WHITE, "You are not logged in.");
return 1;
}
#endif
new idx,
L_sz_Input[256],
L_sz_CopName[MAX_PLAYER_NAME],
L_sz_MessageString[256],
L_sz_Rank[56], // warning 204: symbol is assigned a value that is never used: "L_sz_Rank"
L_sz_Faction[8]; // warning 204: symbol is assigned a value that is never used: "L_sz_Faction"
#if TollFS == 0
Quote:
Originally Posted by [ABK]Antonio
or just create your own mode instead of someone elses and indent properly
|
I simply want to understand how to solve these warning, wtf.
I am a beginner with pawno.