15.06.2013, 08:47
pawn Код:
COMMAND:hello(playerid, params[])
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
if(!strcmp(pname,"Fernado"))
{
//Your Code goes here, what is this doing if your name is Fernado
}
else SendClientMessage(playerid, 0xFFFFFFFF, "You are not allowed to use this command!");
return 1;
}