SA-MP Forums Archive
Need some 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: Need some help.. (/showthread.php?tid=173158)



Need some help.. - LifeStyle - 01.09.2010

I am trying to make a deathmatch, which is working fine but how do i make that it will say on end of time

%s has the most kills!


Re: Need some help.. - Hiddos - 01.09.2010

pawn Код:
new player;
for(new i; i < MAX_PLAYERS; i++)
{
  if(Kills[i] > Kills[playerid]) player = i;
}
//Rest o' code



Re: Need some help.. - LifeStyle - 01.09.2010

Tyvm

The message you have entered is too short. Please lengthen your message to at least 8 characters.