OnPlayerCommandText
#1

Hi,

I have to check OnPlayerCommandText if player input % in commands when player can write text?
Reply
#2

You should use strfind.
Reply
#3

Yes i know that i can use strfind but it's necesarry? like /sms [player] [sms] i'am saving player messages and sending them, i need to strfind and don't let peoples insert % in text?
Reply
#4

Hello!

You can use strcmp (with a for-loop) or strfind. But you have to use one of them.
Reply
#5

But it's necessary?
Reply
#6

or use ZCMD it's simple
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)