How to use public functions in an include??
#5

Or do for example:
- In your script:
pawn Код:
public OnPlayerConnect(playerid)
{
    OnPlayerConnectEx(playerid);
    // Other connect stuff in the script here
    return 1;
}
- In the include:
pawn Код:
forward OnPlayerConnectEx(playerid);
public OnPlayerConnectEx(playerid)
{
    // Do your include-stuff here
}
I'm ensured this also works
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)