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



Help - PrinceOfPersia - 30.12.2013

Hello Guys
Help me please

I got this errors

Код:
C:\Users\Mido\Desktop\Server\gamemodes\PERP.pwn(62586) : error 021: symbol already defined: "cmd_setdiv"
C:\Users\Mido\Desktop\Server\gamemodes\PERP.pwn(62681) : error 021: symbol already defined: "cmd_setdiv"
C:\Users\Mido\Desktop\Server\gamemodes\PERP.pwn(62762) : error 021: symbol already defined: "cmd_setdiv"
C:\Users\Mido\Desktop\Server\gamemodes\PERP.pwn(62847) : error 021: symbol already defined: "cmd_setdiv"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 62586
Код:
CMD:setdiv(playerid, params[])
{
62681
Код:
CMD:setdiv(playerid, params[])
{
62762
Код:
CMD:setdiv(playerid, params[])
{
62847
Код:
CMD:setdiv(playerid, params[])
{
Thank you


Re: Help - PrinceOfPersia - 30.12.2013

You all will ignore me ?


Re: Help - Patrick - 30.12.2013

You can't have same command name 4 times, just like other function or variable


Re: Help - Mattakil - 30.12.2013

you can't use the same command multiple times.


Re: Help - J4mmyHD - 30.12.2013

Can't use the same command name more than one make them serdiv1 setdiv2.. etc.. Or make them all into 1 command.