SA-MP Forums Archive
dcmd 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dcmd help (/showthread.php?tid=204719)



dcmd help - LegendNissanGTR - 30.12.2010

Hi, how do i define warning 203: symbol is never used: "dcmd_atruck?


Re: dcmd help - Fool - 30.12.2010

dcmd(atruck,6,cmdtext); ?
or you need to make the command


Re: dcmd help - LegendNissanGTR - 30.12.2010

No,i mean when i did the command dcmd_atruck then idk how to define it.


Re: dcmd help - Fool - 30.12.2010

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(atruck,6,cmdtext); 
 // all other command under this
return 0;
}
this is how you define it my man.