[Pawn] dcmd help
#5

Example.
pawn Код:
dcmd(heal, 4, cmdtext);
"That line basically declares the command, it checks the variable cmdtext to see if you typed /heal, the number 4 is the length of the word "heal", the word "heal" (without double quotes) is both the command to type and part of the function to call."

https://sampwiki.blast.hk/wiki/Fast_Commands

Reply


Messages In This Thread
[Pawn] dcmd help - by squomp - 05.04.2012, 04:48
Re: [Pawn] dcmd help - by Psymetrix - 05.04.2012, 04:51
Re: [Pawn] dcmd help - by squomp - 05.04.2012, 04:54
Re: [Pawn] dcmd help - by squomp - 05.04.2012, 04:58
Re: [Pawn] dcmd help - by captainjohn - 05.04.2012, 05:57

Forum Jump:


Users browsing this thread: 1 Guest(s)