#1

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 -.-
Reply
#2

post some of your attempts then.
Reply
#3

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,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)