24.06.2008, 11:19
Quote:
|
Originally Posted by Andre9977
Quote:
Also, string size doesn't need to be 256, as the maximum lenght of characters that can be printed is 128. |
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(!IsPlayerConnected(killerid)) return 0;
new string[128];
SendDeathMessage(playerid,killerid,reason);
format(string, sizeof(string), "%s was Wacked by %s", playerid,killerid);
SendClientMessageToAll(COLOR_RED,string);
return 1;
}

