dini - 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: dini (
/showthread.php?tid=386281)
dini -
tarez - 20.10.2012
I'm having a problem with dini
Under OnPlayerDeath, I'm not quite sure what I have to do to add a death to playerid and a kill to killerid in their account files.
For example, p1 kills p2
p1 gets +1 kill and it sets to his account files
p2 gets +1 death and it sets to his account files
I've literally tried everything I could think of and it's really starting to piss me off -.-
Re: dini -
cessil - 20.10.2012
post some of your attempts then.
Re: dini -
[HK]Ryder[AN] - 20.10.2012
On Top of your script
Код:
new Kills[MAX_PLAYERS];
new Deaths[MAX_PLAYERS];
Under OnPlayerDeath
Код:
Kills[killerid] ++;
Deaths[playerid] ++;
Then in OnPlayerDisconnect you save the,