25.03.2013, 15:38
Today I learned how to add strings!
pawn Код:
CMD:kill(playerid,params[])
{
SetPlayerHealth(playerid,0.0);
SendClientMessage(playerid, 0xFFFF0000, "Stupid, why did you commit suicide!?");
new name[MAX_PLAYER_NAME],string[128];
GetPlayerName(playerid, name, sizeof(name));
format (string, sizeof(string), "%s has suicided.", name);
SendClientMessageToAll(0xFB0000AA, string);
return 1;
}