again plzz help plz
#10

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
dcmd(heal,4,cmdtext)
here heal is the command
4 is the length of Digits i.e. command length if u do a command like ban its length will be 3
add that part in OnPlayerCommandText

now.
// here dcmd_heal is the function for command player id = player how use command , params are optional parametes
which are used in commands like /ban pPlayerID it will ban another Player i.e. pPlayerID entered in command

dcmd_heal(playerid , params[])
{
// command code goes here
}
It's called string length, not length of the digits.
Reply


Messages In This Thread
again plzz help plz - by newbie scripter - 28.04.2012, 10:47
Re: again plzz help plz - by Mimic - 28.04.2012, 10:54
Re: again plzz help plz - by newbie scripter - 28.04.2012, 12:11
Re: again plzz help plz - by newbie scripter - 28.04.2012, 12:21
Re: again plzz help plz - by [Dk]RoCk - 28.04.2012, 12:26
Re: again plzz help plz - by newbie scripter - 28.04.2012, 12:48
Re: again plzz help plz - by newbienoob - 28.04.2012, 12:51
Re: again plzz help plz - by newbie scripter - 28.04.2012, 14:01
Re: again plzz help plz - by Niko_boy - 28.04.2012, 14:41
Re: again plzz help plz - by Mark™ - 28.04.2012, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)