08.04.2017, 22:59
Quote:
Use a funзгo strfind na callback OnPlayerText pra achar a palavra hacker e aн da um SendClientMessage
https://sampwiki.blast.hk/wiki/Strfind |
Код:
if(strfind("Hacker", "hack", true) != -1) //returns 4, because the start of 'you' (y) is at index 4 in the string { SendClientMessageToAll(0xFFFF0000, "VIU UM HACKER? USE /REPORT ID E O MOTIVO."); }