how can i store the last killer in a variable
#4

Well you want to do you foreach() loop in OnPlayerDisconnect() actually also you don't if(!IsPlayerConnected(i)) when using foreach. Also this assignment is incorrect.

pawn Код:
killerid = pKiller[playerid];

//should be
pKiller[playerid] = killerid;
But it also looks like your revenge system is not what I expected so you might have to explain a bit more.
Reply


Messages In This Thread
how can i store the last killer in a variable - by GwENiko - 30.09.2014, 04:22
Re: how can i store the last killer in a variable - by Pottus - 30.09.2014, 04:40
Re: how can i store the last killer in a variable - by GwENiko - 30.09.2014, 05:04
Re: how can i store the last killer in a variable - by Pottus - 30.09.2014, 05:09
Re: how can i store the last killer in a variable - by GwENiko - 30.09.2014, 05:16

Forum Jump:


Users browsing this thread: 1 Guest(s)