Forwarding default callbacks
#1

So I'm looking for an alternate method to being able to update my GM for my server without having to constantly sending the script back, and forth between developers. I was wondering if doing this;

pawn Код:
forward Dev_Sparke_OnPlayerConnect(playerid);
public Dev_Sparke_OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, -1, "Sparke");
    return 1;
}

forward Dev_Sparke_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
public Dev_Sparke_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 1;
}
Would be a fine way of doing it, and would it work as normal callbacks would?
Reply


Messages In This Thread
Forwarding default callbacks - by Wolfe - 21.03.2016, 01:52
Re: Forwarding default callbacks - by SickAttack - 21.03.2016, 02:10
Re: Forwarding default callbacks - by Apes - 21.03.2016, 02:42
Re: Forwarding default callbacks - by Vince - 21.03.2016, 09:56
Re: Forwarding default callbacks - by PrO.GameR - 21.03.2016, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)