04.08.2010, 15:58
Well I'm unsure what codes and variable stuff you're using but you could try placing it after you're checking if he's in a vehicle:
pawn Код:
if(IsPlayerInAnyVehicle(playerid)) return 0;
if(takeover[i][team] == gTeam[playerid]) { SendClientMessage(playerid, COLOR_JUMPINGJACKFLASH, "Holidays come, and then they go. There's nothing new today, just another memory."); break; }
if(takeover[i][team] == 1 && gTeam[playerid] == USA || takeover[i][team] == 2 && gTeam[playerid] == RUSSIA || takeover[i][team] == 3 && gTeam[playerid] == FRANCE || takeover[i][team] == 4 && gTeam[playerid] == VIETNAM)