16.06.2014, 18:04
Quote:
fazes um if tipo isto:
pawn Код:
|
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pTrazerKart] == 1)
{
new vehicleidx = GetPlayerVehicleID(i);
if(!vehicleidx && Carro[random(2)])
{
SetPlayerInterior(i,0);
PutPlayerInVehicle(i, Carro[random(2)], 0);
Jogadoreskart++;
EVENTO[i] = 1;
SetPlayerRaceCheckpoint(i,1,-1341.8914,-671.3342,1055.9453,0.0,0.0,0.0,10.0);
}
}
}
}
return 1;
}