Commands doesnt work???.......
#2

pawn Код:
if (strcmp("/help", cmdtext, true, 10) == 0)
10 is the length of the cmd, it should be 5 as /help contains 4 letters. Do same for other cmds.
https://sampwiki.blast.hk/wiki/Strcmp
Reply


Messages In This Thread
Commands doesnt work???....... - by Bulgaria - 08.04.2015, 11:52
Re: Commands doesnt work???....... - by De4dpOol - 08.04.2015, 11:58
Re: Commands doesnt work???....... - by Bulgaria - 08.04.2015, 12:05
AW: Commands doesnt work???....... - by Mencent - 08.04.2015, 12:26
Re: Commands doesnt work???....... - by R0 - 08.04.2015, 12:27
Re: Commands doesnt work???....... - by Bulgaria - 08.04.2015, 12:38
Re: Commands doesnt work???....... - by R0 - 08.04.2015, 12:43
AW: Commands doesnt work???....... - by Mencent - 08.04.2015, 12:44
Re: Commands doesnt work???....... - by [ABK]Antonio - 08.04.2015, 12:45
Re: Commands doesnt work???....... - by Bulgaria - 09.04.2015, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)