29.04.2010, 03:30
Quote:
Originally Posted by Airton_
Rendendo...
Code:
if(!strcmp(cmd, "/render", true)) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); return 1; } |
Anuncio:
pawn Code:
if(strcmp(cmd, "/say", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR, "Forma Correta: /say [text]");
return 1;
}
{
GetPlayerName(playerid, aName, sizeof(aName));
format(string, sizeof(string), "* Admin %s: %s",aName,cmdtext[6]);
SendClientMessageToAll(AAZUL,string);
}
return 1;
}