Using OnPlayerCommadText() in OCMD ?! - 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: Using OnPlayerCommadText() in OCMD ?! (
/showthread.php?tid=660749)
Using OnPlayerCommadText() in OCMD ?! -
playstores - 12.11.2018
Quote:
ocmd:ctp(playerid,params[])
{
new cmd[128];
sscanf(params, "s[128]",cmd);
ocmd(playerid, cmd); //undefined symbol "ocmd"
return 1;
}
|
HOW to do that ? I want to execute that Command that is given by "cmd" per OCMD
Re: Using OnPlayerCommadText() in OCMD ?! -
playstores - 12.11.2018
push
Re: Using OnPlayerCommadText() in OCMD ?! -
ItsRobinson - 12.11.2018
Whatever you're trying to do, you should stop lol.
Are you trying to make your own version of ZCMD or something like that?
Re: Using OnPlayerCommadText() in OCMD ?! -
playstores - 13.11.2018
no, I am just trying that what you see in the code