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



dcmd problems :/ - kexy96 - 01.12.2014

Hi, i have ver very much errors

error lines:
Код:
dcmd(destroycar,10,cmdtext);
	dcmd(lockcar,7,cmdtext);
	dcmd(unlockcar,9,cmdtext);
	dcmd(carhealth,9,cmdtext);
	dcmd(carcolour,9,cmdtext);
	dcmd(car,3,cmdtext);
    dcmd(vr,2,cmdtext);
    dcmd(fix,3,cmdtext);
    dcmd(repair,6,cmdtext);
    dcmd(ltune,5,cmdtext);
    dcmd(lhy,3,cmdtext);
    dcmd(lcar,4,cmdtext);
    dcmd(lbike,5,cmdtext);
    dcmd(lheli,5,cmdtext);
	dcmd(lboat,5,cmdtext);
    dcmd(lnos,4,cmdtext);
    dcmd(lplane,6,cmdtext);
    dcmd(vgoto,5,cmdtext);
    dcmd(vget,4,cmdtext);
    dcmd(givecar,7,cmdtext);
    dcmd(flip,4,cmdtext);
    dcmd(ltc,3,cmdtext);
	dcmd(linkcar,7,cmdtext);
ERRORS:
Код:
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4511) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4512) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4514) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4515) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4520) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4521) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4538) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4539) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4540) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4544) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4545) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4546) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4547) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4550) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4551) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4552) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4553) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4554) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4555) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4556) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4557) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4558) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4559) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4560) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4561) : error 078: function uses both "return" and "return <value>"
C:\Users\Rendszergazda\Desktop\CnR1.1\filterscripts\ladmin4v2.pwn(4562) : error 078: function uses both "return" and "return <value>"



Re: dcmd problems :/ - Runn3R - 01.12.2014

What the fuck are you doing?? LOL


Re: dcmd problems :/ - AnthonyTimmers - 01.12.2014

Use return 1 or 0, not just return.