02.06.2016, 00:16
If you are only going to be using the includes within your gamemode, you could also directly call the function to the include, ex:
If you'd rather use hooking, refer to this. It should explain what the code is doing and how to use it.
pawn Код:
public OnPlayerConnect(playerid)
{
houses_OnPlayerConnect(playerid);
return 1;
}
// houses include
houses_OnPlayerConnect(playerid)
{
// do something
return 1;
}