14.02.2011, 16:21
im your scripter ask me i can explain to u xD
public OnPlayerDeath(..){
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 );
return 1;
}
sould work
public OnPlayerDeath(..){
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 );
return 1;
}
sould work