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



help | zcmd - EviLpRo - 01.07.2011

hello!

I have a small question, how do I do in zcmd, as do the usual commands:
OnPlayerCommandText (playerid, "command");

How I do it in zcmd?


Re: help | zcmd - Gazmull - 01.07.2011

pawn Код:
COMMAND:login(playerid, params[])
{
    //Do something here.
}



Re: help | zcmd - EviLpRo - 01.07.2011

You misunderstood.
I want to do if a player knocked in dialog ok, it will make the command prompt.
Thank you helpers (:


Re: help | zcmd - Unte99 - 01.07.2011

Quote:

how do I do in zcmd

Quote:

I want to do if a player knocked in dialog ok, it will make the command prompt.

That's two different things(but i couldn't understand everything...). First make up your mind, then tell us what you want to make. Explain in details.


EDIT: I think this is what your'e looking for: https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog

EDIT2: Ok, now i understood you now. I think. https://sampforum.blast.hk/showthread.php?tid=240937