OnPlayerTakeDamage gets called wrong
#1

Hi, I've recently made a skin hit system which uses OnPlayerTakeDamage.
But after i restart my server (without the player leaving), when a player spawns the public will automatically get called.

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    SendClientMessage(playerid, -1, "This will get called after restart on spawn");
    //Other Code
    return 1;
}
This is a SA:MP bug am i right?
Reply


Messages In This Thread
OnPlayerTakeDamage gets called wrong - by [SF]OutLawZ - 11.03.2013, 02:03
Re: OnPlayerTakeDamage gets called wrong - by MP2 - 11.03.2013, 02:40
Re: OnPlayerTakeDamage gets called wrong - by Kar - 11.03.2013, 10:15
Re: OnPlayerTakeDamage gets called wrong - by iRage - 11.03.2013, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)