OnPlayerCommandReceived (/pm problem)
#4

Quote:
Originally Posted by ThomasEvil
Посмотреть сообщение
/afk works perfectely, /pm works too but the real command is /pm id text ... Not only /pm like /afk
It should also work in this case, strcmp compares the entire strings while strfind returns the index where the substring (/pm) is found in the command (/pm id message) (which should be 0, hence the ! on the condition)
Reply


Messages In This Thread
OnPlayerCommandReceived (/pm problem) - by ThomasEvil - 18.03.2018, 18:11
Re: OnPlayerCommandReceived (/pm problem) - by iKarim - 18.03.2018, 18:16
Re: OnPlayerCommandReceived (/pm problem) - by ThomasEvil - 18.03.2018, 18:18
Re: OnPlayerCommandReceived (/pm problem) - by iKarim - 18.03.2018, 18:29
Re: OnPlayerCommandReceived (/pm problem) - by ThomasEvil - 18.03.2018, 18:36
Re: OnPlayerCommandReceived (/pm problem) - by iKarim - 18.03.2018, 18:38
Re: OnPlayerCommandReceived (/pm problem) - by ThomasEvil - 18.03.2018, 18:41
Re: OnPlayerCommandReceived (/pm problem) - by iKarim - 18.03.2018, 18:45
Re: OnPlayerCommandReceived (/pm problem) - by ThomasEvil - 18.03.2018, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)