zcmd help
#5

Next time use pawn tags. Well, ZCMD is quite better than strcmp or DCMD.
Usage:
pawn Код:
//This shouldn't be under ANY callbacks.
COMMAND:myfirstzcmd(playerid) {
SendClientMessage(playerid,0xFFFFFF,"HEY. FIRST ZCMD COMMAND. MUHAAHA");
return 1;
}
//These commands should return a value. those 2 values (playerid,params[]) can be removed, if you don't need then at all. playerid = the player's ID who has performed this cmd, params[] = whats after the cmd like /lol [this is here] - params[] can be stored in variables by using sscanf()
Reply


Messages In This Thread
zcmd help - by Artix - 12.05.2011, 04:47
Re: zcmd help - by (SF)Noobanatior - 12.05.2011, 04:52
Re: zcmd help - by leong124 - 12.05.2011, 06:07
Re: zcmd help - by black_dota - 12.05.2011, 11:20
Re: zcmd help - by Seven_of_Nine - 12.05.2011, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)