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



Warnings - Gortex - 22.01.2013

C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(183) : warning 207: unknown #pragma
C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(2201) : warning 201: redefinition of constant/macro (symbol "mInfo")
C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(38043) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(38044) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(4034 : warning 225: unreachable code
C:\Documents and Settings\Uporabnik\Desktop\Scritp\gamemodes\IG-RP.pwn(68831) : warning 202: number of
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 10924 bytes
Code size: 4362708 bytes
Data size: 17812060 bytes
Stack/heap size: 16384 bytes; estimated max. usage=6345 cells (25380 bytes)
Total requirements:22202076 bytes

6 Warnings.

Line 183 : #pragma 100000

Line 2201: {

Line 38043: Create3DTextLabel("Mechanic Refill Point \n /refuel to put fuel in a car",COLOR_RED,2383.0977,-1910.4185,13.3387+0.5,4.0); // mechanic refill point

Line 38048: dcmd(nearmapicon, 11, cmdtext);


Line 68831: RemovePlayerAttachedObject(giveplayerid);


Yes they are just a warnings.. But when i go in the server when i type like /stats Unknown Command :#


Re: Warnings - Ryuuji Takasu - 22.01.2013

Give me the codes of it lemme see if I can fix it.


Re: Warnings - Gortex - 22.01.2013

Quote:
Originally Posted by JerryBean
Посмотреть сообщение
Give me the codes of it lemme see if I can fix it.
read again the 1st post i posted the lines


Re: Warnings - goviscrap - 22.01.2013

Number of argument means that you didnt type the function as it should be.. Example:
SendClientMessage(playerid, Color, Message); <----- this is the right one.
SendClientMessage(Color, Message); <----- This will give you number of argument does not match the definition.

What #pragma code is you using?

Unreachable code.. The compiler cant reach your code you've added.