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



help - BlackEvils - 08.01.2015

Hi all i have a problem,
Thats the code
dcmd_adminloginCIAOPA(playerid, params[])
how i can put on pawno the space to make it like this
dcmd_admin login CIAOPA(playerid, params[])
because this give me error.


Re: help - Misiur - 08.01.2015

It's not possible due to how preprocessor works, unless you want get dirty with dcmd macro. You can create standard dcmd_admin, then check if first parameter is login, and the other one is CIAOPA.

As a sidenote: dcmd is quite old, use ycmd/zcmd instead.