Code: Show/Hide case EVENT_PlayerMove:
{ Player *p = (Player*)event.p[0]; if( GetTickCount() % 6 == 0 && pb->getState() == STATE_runEvent && isStillIn((String)p->name)) { if( (p->pos.y / 16) > 488 && (p->pos.x / 16) < 535 && (p->pos.y / 16) > 480 && (p->pos.y / 16) < 535 ) { pilots.unlist(p); playerCount--; } } } |