04.05.2009, 21:31
Quote:
Originally Posted by SilentHuntR
no.
|
GetPlayerName does not directly return the players name, you have to save it to a string.
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
pawn Код:
if(strfind(name, "[g00n]", true) == -1)
{
//Code if g00n is in name
}
True = not case sensitive
False = Case Sensitive
(I Think)