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



ERROR - Salsa - 10.10.2011

how i Fix It

Код:
C:\Users\Leon\Desktop\samp03csvr_R5_win32\samp03csvr_R5_win32\filterscripts\LuxAdmin.pwn(11190) : warning 203: symbol is never used: "dcmd_nina"



Re: ERROR - grand.Theft.Otto - 10.10.2011

That is a warning, not an error.

But that means you defined the command ' dcmd_nina ' but is not used in the script.


Re: ERROR - Salsa - 10.10.2011

Sorry its warning how i use this


Re: ERROR - TheLazySloth - 10.10.2011

Just get rid of it if you dont know what it belongs to -.-


Re: ERROR - Salsa - 10.10.2011

i add this command

Quote:

dcmd_nina(playerid,params[])
{
if(AccInfo[playerid][Level] >= 2 || IsPlayerVIP(playerid))
{
SetPlayerHealth(playerid, 50);
SetPlayerSkin(playerid, 192);
GivePlayerWeapon(playerid, 27, 100);
return SendClientMessage(playerid,red,"You Need To Br A Vip Level 2");
return 1;
}
else return ErrorMessages(playerid, 7);
}




Re: ERROR - grand.Theft.Otto - 10.10.2011

Did you add:

dcmd(nina,4,cmdtext);

under OnPlayerCommandText ?


Re: ERROR - Salsa - 10.10.2011

its Done Thanks