14.02.2011, 16:19
When a player got killed, the first name is not coming
This is how it looks
pawn Код:
new DeathNamerz[MAX_PLAYER_NAME];
new KillNamerz[MAX_PLAYER_NAME];
new str2[128];
GetPlayerName( playerid, DeathNamerz, sizeof(DeathNamerz) );
GetPlayerName ( killerid, KillNamerz, sizeof(KillNamerz) );
format( str2, sizeof(str2), " NEWS: %s has killed %s and earn points ", KillNamerz, DeathNamerz );
SendClientMessage( playerid, yellow, str2 );
Код:
NEWS: has killed Ricky and earn points