if(strcmp(cmd, "/girtalk", true) == 0) { if(!strcmp(PlayerName(playerid), "Joseph_Cortez" )) { new str[128]; GetPlayerName(playerid, str, sizeof(str)); format(str, sizeof(str), "Gir Says:", cmdtext[6]); SendClientMessageToAll(LIGHTBLUE, str); } else SendClientMessage(playerid, LIGHTBLUE, "You are not a high enough Admin!"); return 1; } |
if(strcmp(cmd, "/girtalk", true) == 0)
{
if(!strcmp(PlayerName(playerid), "Joseph_Cortez" ))
{
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "Gir Says: %s", cmdtext[6]);
SendClientMessageToAll(LIGHTBLUE, str);
}
else SendClientMessage(playerid, LIGHTBLUE, "You are not a high enough Admin!");
return 1;
}
CMD:girtalk(playerid,params[]);
{
if(!strcmp(PlayerName(playerid), "Joseph_Cortez" ))
{
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "Gir Says: %s", params);
SendClientMessageToAll(LIGHTBLUE, str);
}
else SendClientMessage(playerid, LIGHTBLUE, "You are not a high enough Admin!");
return 1;
}