08.02.2013, 19:38
Try using this code, you got the error because you used wrong format of strfind() function
Its the wrong format
The correct format should be
Quote:
new nname[MAX_PLAYER_NAME]; GetPlayerName(playerid, nname, sizeof(nname)); if(strfind(nname, "[GTA]", true) != -1) |
Its the wrong format
Quote:
strfind("[GTA]", nname, true) != -1) |
Quote:
strfind(nname, "[GTA]", true) != -1) |