15.07.2011, 22:35
Type in a GM I have seen such a thing....
Код:
public OnPlayerConnect(playerid) { if(!IsPlayerNPC(playerid)) { Streamer_AddPlayer(playerid); } if(...) { return CallLocalFunction(2964, 3064, playerid); } return 1; }
Код:
public OnPlayerDisconnect(playerid, reason) { if(!IsPlayerNPC(playerid)) { Streamer_RemovePlayer(playerid); } if(....) { return CallLocalFunction(3072, 3184, playerid, reason); } return 1; }