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=654707)



Error - Jaua10 - 03.06.2018

Excuse me guys can you help em with this pls?

Код:
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(1724) : error 021: symbol already defined: "cmd_kill"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
line 1723 to 1733

PHP код:
CMD:kill(playerid)
{
        if (
IsPlayerConnected(playerid))
        {
        
SendClientMessage(playerid0xFF8282AA"You lost $1,000 to pay for your antidepressants.");
        
SendClientMessage(playerid0xFF8282AA"Before you are discharged, Hospital staff will confiscate your weapons.");
        
GivePlayerMoney(playerid, -1000);
        
SetPlayerHealth(playerid,0);
        }
        return 
1;




Re: Error - andrejc999 - 03.06.2018

It means that you have already created /kill command somewhere in your script, check for it.


Re: Error - Jaua10 - 03.06.2018

solved, thanks