HELP ME PLEASE!!! how? - 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: HELP ME PLEASE!!! how? (
/showthread.php?tid=439339)
HELP ME PLEASE!!! how? -
Jardzskiiz - 25.05.2013
warning 203: symbol is never used: "CivPedsFemale"
warning 203: symbol is never used: "CivPedsMale"
Re: HELP ME PLEASE!!! how? -
BpVanshVk - 25.05.2013
You have Defined them but you didn't used them, clear them out,
CTRL + F > #define CivPedsFemale > Clear it out..!

and same for CivPedsMale..
Re: HELP ME PLEASE!!! how? -
mineralo - 25.05.2013
if you don't want to clean it out then use
Код:
#pragma unused CivPedsFemale
#pragma unused CivPedsMale
Re: HELP ME PLEASE!!! how? -
DobbysGamertag - 25.05.2013
Quote:
Originally Posted by mineralo
if you don't want to clean it out then use
Код:
#pragma unused CivPedsFemale
#pragma unused CivPedsMale
|
NEVER do this. It's bad practice. All #pragma unused, pragma tabsize's and such are awful.
Re: HELP ME PLEASE!!! how? -
mineralo - 25.05.2013
Quote:
Originally Posted by DobbysGamertag
NEVER do this. It's bad practice. All #pragma unused, pragma tabsize's and such are awful.
|
this function just avoid warning and nothing else
Re: HELP ME PLEASE!!! how? -
Pottus - 25.05.2013
Quote:
Originally Posted by DobbysGamertag
NEVER do this. It's bad practice. All #pragma unused, pragma tabsize's and such are awful.
|
There is a time when it is useful actually that is when your using y_inline / y_dialog for instance
pawn Код:
inline Response(pid, dialogid, response, listitem, string:text[])
{
#pragma unused listitem, dialogid,
Unfortunately I can't think of anything else really.