CMD:fakechat(playerid,params[])
{
new target;
new ftext;
new string[ 256 ];
new name[MAX_PLAYER_NAME];
new tcolor;
tcolor = GetPlayerColor( target );
if(sscanf(params,\"us[128]\",target,ftext)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /fakechat [ Játékos/JátékosID ] [ Szöveg ]\");
GetPlayerName( target, name, sizeof( name ));
format( string, sizeof( string ),\"%s:{FFFFFF}%s\", name, ftext );
SendClientMessageToAll( tcolor, string );
SendClientMessage(playerid, 0xFF0000, \"Fake Chat el lett küldve!\");
return 1;
}
Probáld meg..