24.06.2010, 18:09
Quote:
Originally Posted by Kidel
Код:
GetPlayerName(playerid, Name, sizeof(Name)); f(strcmp( Name, "your name")) { you command code } not tested!!! |
[/quote]
pawn Код:
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
if(!strfind(PlayerName, "[your name here]", true) return 0;
if(strfind(PlayerName, "[your name here]", true)
{
Command Code here
return 1;
}