Hey, please help (probably simple)
#6

Quote:
Originally Posted by NaS
Посмотреть сообщение
Do you use strcmp inside OnPlayerCommandText?
if yes, it probably looks like this now:

if(strcmp(cmdtext, "/lock", true, 6) == 0)

but "/lock" is only 5 letters, so instead of 6 put a 5 in there.
Well I think you can see the commands over there that he's using DCMD and not the strcmp inside the OnPlayerCommandText.
Reply


Messages In This Thread
Hey, please help (probably simple) "added a new question at the buttom" :p - by master2466 - 13.03.2013, 22:10
Re: Hey, please help (probably simple) - by master2466 - 13.03.2013, 22:15
Re: Hey, please help (probably simple) - by Private200 - 13.03.2013, 22:17
AW: Hey, please help (probably simple) - by NaS - 13.03.2013, 22:17
Re: Hey, please help (probably simple) - by master2466 - 13.03.2013, 22:19
Re: AW: Hey, please help (probably simple) - by Private200 - 13.03.2013, 22:20
Re: Hey, please help (probably simple) - by Patrick - 13.03.2013, 22:20
AW: Re: AW: Hey, please help (probably simple) - by NaS - 13.03.2013, 22:21
Re: AW: Hey, please help (probably simple) - by master2466 - 13.03.2013, 22:21
Re: Hey, please help (probably simple) - by master2466 - 13.03.2013, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)