04.11.2013, 15:31
https://sampwiki.blast.hk/wiki/Strcmp
Example
Example
pawn Код:
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
if(!strcmp(Name, "Admin"))
{
// Name match
}
else
{
// Name don't match
}