29.08.2012, 00:28
No lo testee
Arriba del gm
En OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
Pon
EnOnPlayerConnect(playerid)
En OnPlayerUpdate(playerid)
Arriba del gm
pawn Код:
#define NOEXISTE (-1)
new bool:ForzarCoche[MAX_PLAYERS];
new gLastCar[MAX_PLAYERS];
Pon
pawn Код:
ForzarCoche[playerid] = true;
pawn Код:
ForzarCoche[playerid] = false;
gLastCar[playerid] = NOEXISTE;
En OnPlayerUpdate(playerid)
pawn Код:
if (ForzarCoche[playerid] == true)
{
new Coche = gLastCar[playerid];
PutPlayerInVehicle(playerid, id, Coche);//Dudo que funcione pero prueba...
return 1;
}