Lms prob

Started by Cool, Oct 29, 2015, 12:25 PM

Previous topic - Next topic

Thijn

Also make sure you don't have multiple onPlayerKill functions in your script.

Cool

Nope only single

rulk

I actually think this is a VC:MP bug, because i am writing a game-mode but also cannot get the 'onPlayerKill' event to trigger.

I am using VC:MP in windowed mode and connecting from the same PC.

Even if i strip everything out and put something as simple as

function onPlayerKill( killer, player, reason, bodypart )
{
print( player.Name );
}

It still won't print anything to the console.

is it possible if a dev could look into this ? or is anyone else having the same problem.  Remember i am connecting both players from the same computer and i am in windowed mode.

Kind regards

rulk
We are all god's children.

DizzasTeR


rulk

@Doom_Killer That's the answer!!  your a genius. :-)
We are all god's children.

KAKAN

Team -1 is the free team.
Btw, if your server is based on DM (FFA), then you can use this:-
function onPlayerTeamKill( killer, player, reason, bodypart )
{
  onPlayerKill( killer, player, reason, bodypart )
}
I posted this because @Noob can solve that thing.
oh no

Cool

Thanks @Kakan @rulk @DoomKiller for help at last this topic solved thanks to all
Doomkiller hates me but thanks if you dont hate me give a like to my this post :P