15.06.2013, 08:41
(
Последний раз редактировалось Fernado Samuel; 04.10.2013 в 17:09.
)
Removed
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;
}
CMD:mycommand(playerid, params)
{
new pname[24];
GetPlayerName(playerid, pname, 24);
if(strcmp(pname, "Fernando", true)) return SendClientMessage(playerid, -1, "Only Fernando can use this command!");
//Command
return 1;
}