Help Bro's
#1

i just wanna know how to make this
if(strfind(text, "hacker", true) != -1)
{
SendClientMessage(playerid, COLOR_GREEN, "Use /report to report a hacker");
}
i want to make it. Here's an example if you type hacker then the sendclientmessage will appear
and the hacker that you type is still send in the chatbox how to make when you type "hacker" the "hacker" that you type is not gonna show it just gonna show the sendclientmessage

SORRY FOR MY BAD ENGLISH
Reply
#2

Paste it on OnPlayerText
But first take a look here:
https://sampwiki.blast.hk/wiki/Strfind
https://sampwiki.blast.hk/wiki/OnPlayerText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)