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



zcmd - Tomejus - 08.02.2011

hello,

is possible to create command with zcmd using space? example: COMMAND:your friend( playerid, params[] )
? i'm getting errors so maybe is other way to create command like this? (think)


Re: zcmd - admantis - 08.02.2011

Yes of course, but make it only 'your' in the command, then check if 'friends' is params (using strcmp).


Re: zcmd - Tomejus - 08.02.2011

Thank you for answering.