Implent a function?
#2

If you don't want to have it in the code (Maybe you're creating an include or something), you need to check if it's defined before forwarding it.

Код:
#if defined OnPlayerKilledPlayer
    forward OnPlayerKilledPlayer(playerid, deathid);
#endif
Reply


Messages In This Thread
Implent a function? - by Dayrion - 17.07.2016, 14:41
Re: Implent a function? - by Stinged - 17.07.2016, 14:50
Re: Implent a function? - by iKarim - 17.07.2016, 14:51
Re: Implent a function? - by TheMallard - 17.07.2016, 14:51
Re: Implent a function? - by Dayrion - 17.07.2016, 15:03
Re: Implent a function? - by Misiur - 17.07.2016, 15:39
Re: Implent a function? - by Dayrion - 17.07.2016, 16:02
Re: Implent a function? - by Mauzen - 17.07.2016, 18:36

Forum Jump:


Users browsing this thread: 4 Guest(s)