Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PUBLIC:LobbyUpdate(playerid)
- {
- if(gPlayerLogged[playerid] != 1) return 1;
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(!IsPlayerNPC(i)) continue;
- if(!IsPlayerConnected(i)) continue;
- if(Derby[i] == 0) continue;
- survive = i;
- printf("Survive: %i", survive);
- }
- if(!IsPlayerInAnyVehicle(playerid) && Derby[playerid] == 1)
- {
- RemovePlayerFromMap(playerid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement