Ayuda de Entrar a un vehiculo - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Ayuda de Entrar a un vehiculo (
/showthread.php?tid=189991)
Ayuda de Entrar a un vehiculo -
switmaster - 13.11.2010
Como creo algo que cuando entre al auto de alguien me diga "usa /puente para robar este vehiculo" , pero si entro a mi vehiculo diga "usa click para prender este vehiculo"
Re: Ayuda de Entrar a un vehiculo -
Miguel - 13.11.2010
їCуmo sabemos cual es tu vehнculo?
Respuesta: Ayuda de Entrar a un vehiculo -
TheChaoz - 13.11.2010
algo asi:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(Pinfo[playerid][Vehiculo] == vehicleid)SendClientMessage(playerid, 0xFF0000FF, "Server: usa click para encender este vehiculo");
else SendClientMessage(playerid, 0xFF0000FF, "Server: usa /puente para robar este vehiculo");
return 1;
}
Respuesta: Ayuda de Entrar a un vehiculo -
[M]xFire - 14.11.2010
Y el
pawn Код:
TogglePlayerControllable(playerid,false);
si no se, robaria el vehiculo sin el comando xD. Despues, creas un comando donde le des al jugador la libertad de moverse.