RemovePlayerFromvehicle
#4

j'ai fai зa mais apres je peux quand meme le prendre le veh зa fait rien

public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
if(vehicle > 425)
if(vehicle > 432)
if(vehicle > 447)
if(vehicle > 469)
if(vehicle > 520)
if(vehicle > 592)
if(newstate == 2 && GetPlayerScore(playerid)< 15)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,0xFF0000FF,"Vous devez etre lvl 15 pour conduir ce vehicule (1kill=1lvl)");
}
return 1;
}
j'ai aussi essayer зa mais j'ai des йrreurs:


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 411) && (GetPlayerScore(playerid) <15) return SendClientMessage(playerid,-1,"Vous devez etre lvl 20 pour conduir зa ! ");
{
RemovePlayerFromVehicle(playerid);
return 1;
}
Reply


Messages In This Thread
RemovePlayerFromvehicle - by simonbasson42 - 15.07.2014, 22:16
Re: RemovePlayerFromvehicle - by anou1 - 15.07.2014, 22:33
Re : RemovePlayerFromvehicle - by S4t3K - 15.07.2014, 22:35
Re : RemovePlayerFromvehicle - by simonbasson42 - 16.07.2014, 00:06
Re : RemovePlayerFromvehicle - by S4t3K - 16.07.2014, 00:13
Re : RemovePlayerFromvehicle - by Ivory - 16.07.2014, 00:15
Re : RemovePlayerFromvehicle - by simonbasson42 - 16.07.2014, 11:34
Re: RemovePlayerFromvehicle - by Foraysen - 16.07.2014, 11:39
Re : RemovePlayerFromvehicle - by DarkZeroX - 16.07.2014, 11:43
Re: RemovePlayerFromvehicle - by anou1 - 16.07.2014, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)