18.11.2010, 09:53
Ok, Go on your script you want to implement the include on and on the callback Onplayerconnect add:
AC_OnPlayerConnect(playerid);
Then go on the OnPlayerDisconnect(playerid, reason) callback and add AC_OnPlayerDisconnect(playerid, reason);
Finally go on the OnPlayerUpdate(playerid) callback and add AC_OnPlayerUpdate(playerid);
-Lorenc
Edit: Or you can add the stock Keyword on each on those functions
AC_OnPlayerConnect(playerid);
Then go on the OnPlayerDisconnect(playerid, reason) callback and add AC_OnPlayerDisconnect(playerid, reason);
Finally go on the OnPlayerUpdate(playerid) callback and add AC_OnPlayerUpdate(playerid);
-Lorenc
Edit: Or you can add the stock Keyword on each on those functions
pawn Код:
stock AC_OnPlayerDisconnect(playerid, reason) {
...}
stock AC_ OnPlayerConnect(playerid) {
...}
stock AC_OnPlayerUpdate(playerid){
...}