Using OnPlayerCommadText() in OCMD ?!
#1

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
Reply
#2

push
Reply
#3

Whatever you're trying to do, you should stop lol.

Are you trying to make your own version of ZCMD or something like that?
Reply
#4

no, I am just trying that what you see in the code
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)