09.08.2010, 23:12
Code:
#define corinthans 1 // Antes disto abaixo
Code:
new time[MAX_PLAYERS],carro; // TOPO
Code:
carro = AddStaticVehicle(id, x,y,z, cor1,cor2); // Apos isto a cima
Code:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(GetVehicleID(playerid) == carro) { if(time[playerid]== corinthans) { SendClientMessage(playerid, cor, "liberado"); } else { RemovePlayerFromVehicle(playerid); } return 1; } return 1;