15.08.2018, 23:27
How do I get the script to check if a player's name includes '_'?
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof pName);
if(strfind(pName, "_") != -1) {
// Name has underscore.
}
strfind is all you need.
pawn Code:
|