/OOC and /O
#1

Hey!

I created a /OOC command using dcmd but I just want to know if theres a way you can have it done in the same with strcmp like:
pawn Код:
if(strcmp(cmd, "/O", true) == 0 || strcmp(cmd, "/OOC", true) == 0)
Done with something like this:
pawn Код:
dcmd_OOC(playerid,params[])
With out having to have both like:
pawn Код:
dcmd_OOC(playerid,params[])
dcmd_O(playerid,params[])

Reply


Messages In This Thread
/OOC and /O - by ForceFive - 24.10.2009, 17:25
Re: /OOC and /O - by Danny_Costelo - 24.10.2009, 17:27
Re: /OOC and /O - by Correlli - 24.10.2009, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)