Little help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little help (
/showthread.php?tid=219015)
Little help -
Davz*|*Criss - 31.01.2011
hey guys
SendClientMessage(playerid,0xAA3333AA, "%s has been killed by %s |Weapon :,playerid,killerid,weaponid");
see example
ppopzr has been killed by %s (killername) weapon what symbol for weapon, like for killer name is %s?
Re: Little help -
alpha500delta - 31.01.2011
Killername = killerid, so it would be
pawn Код:
GetPlayerName(killerid, sizeof(something?);
Note: Killerid is only called under OnPlayerDeath
Re: Little help -
Davz*|*Criss - 31.01.2011
No man, i actually mean how to display a killed player weapon..
Ex.SendClientMessage(playerid,0xAA3333AA, "%s has been killed by %s |Weapon : M3,playerid,killerid,weaponid");
Re: Little help -
bartje01 - 31.01.2011
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}