Command length
#1

Hey, hey, i have lke /hjgh do kickplayer(playerid) but i put it to length 3 or something and it does the kick player if we do /hjg only!
how do i make it to kickplayer if we write anythin with atleast hjgh, like /hgjh=kick /hgjh asdsd dsf=Kick /hgj=Not kick
how do i make that?
Reply
#2

Код:
if (strcmp("/hjgh", cmdtext, true, 5) == 0)
Reply
#3

i tried and only works if i only do 5 words!
Reply
#4

Quote:
Originally Posted by patchkinson
i tried and only works if i only do 5 words!
Quote:
Originally Posted by CJ101
if (strcmp("/hjgh", cmdtext, true, 5) == 0)
hjgh

Reply
#5

You can just skip this part.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)