Help stats weapons kill/death - 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)
+--- Thread: Help stats weapons kill/death (
/showthread.php?tid=497921)
Help stats weapons kill/death -
Imissziu - 01.03.2014
Hello...i have a problem....Is going to do something for samp ... that as someone enters / stats it displays the statistics mus where each weapon to kill?
Re: Help stats weapons kill/death -
rangerxxll - 01.03.2014
Are you looking to add the death messages?
Re: Help stats weapons kill/death -
Imissziu - 01.03.2014
Quote:
Originally Posted by rangerxxll
Are you looking to add the death messages?
|
Yep
Help me
Re: Help stats weapons kill/death -
rangerxxll - 01.03.2014
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) //When the player dies.
{
SendDeathMessage(killerid, playerid, reason); //This will show the way they died in the "Kill Feed"
return 1;
}
Hope it helps.
Re: Help stats weapons kill/death -
Imissziu - 01.03.2014
Quote:
Originally Posted by rangerxxll
Are you looking to add the death messages?
|
Quote:
Originally Posted by rangerxxll
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) //When the player dies. { SendDeathMessage(killerid, playerid, reason); //This will show the way they died in the "Kill Feed" return 1; }
Hope it helps.
|
Thank you very much. I really appreciate it .
PHP код:
C:\Users\Tommy_Phan\Desktop\Samp-RO\gamemodes\Samp-Ro.pwn(5365) : error 021: symbol already defined: "OnPlayerDeath"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
i'm chicken
Re: Help stats weapons kill/death -
rangerxxll - 01.03.2014
Search (ctrl+F) for the "Un-used" OnPlayerDeath callback, and remove it. You don't need two of them bud.
Re: Help stats weapons kill/death -
Imissziu - 01.03.2014
Quote:
Originally Posted by rangerxxll
Search (ctrl+F) for the "Un-used" OnPlayerDeath callback, and remove it. You don't need two of them bud.
|
thank , That’s so kind of you
Sr,I don't speak English