Tag Breadfisher ich bin wieder ^^,
ich bind abei ein Rentcar system zu bauen, aber wenn ich einsteige kann ich normal los Fahren..
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new Vehicle = GetPlayerVehicleID(playerid);
if(Vehicle == rentacarls) {
ShowPlayerDialog(playerid,Dialog_RentACar,DIALOG_STYLE_MSGBOX,"Auto mieten","Willst du das Auto für $150 mieten?","Ja","Nein");
TogglePlayerControllable(playerid,true);
}
}
return 1;
}
rentacarls = AddStaticVehicleEx(471,541.74353027,-1270.88928223,16.81718826,218.00000000,-1,-1,15); //Quad
rentacarls = AddStaticVehicleEx(471,539.95086670,-1272.55273438,16.81718826,218.00000000,-1,-1,15); //Quad
rentacarls = AddStaticVehicleEx(568,537.40246582,-1274.89489746,17.21718788,220.00000000,-1,-1,15); //Bandito
rentacarls = AddStaticVehicleEx(463,532.25286865,-1279.16381836,16.85918808,224.00000000,-1,-1,15); //Freeway
rentacarls = AddStaticVehicleEx(568,535.06250000,-1277.01660156,17.21718788,219.99572754,-1,-1,15); //Bandito
rentacarls = AddStaticVehicleEx(508,559.32574463,-1288.13159180,17.69823837,6.00000000,-1,-1,15); //Journey
rentacarls = AddStaticVehicleEx(600,554.03259277,-1288.65307617,17.09008598,6.00000000,-1,-1,15); //Picador
rentacarls = AddStaticVehicleEx(411,549.10797119,-1288.64978027,17.04823685,0.00000000,-1,-1,15); //Infernus
rentacarls = AddStaticVehicleEx(415,544.71337891,-1288.63696289,17.09170914,0.00000000,-1,-1,15); //Cheetah
new rentacarls;
Kann mir wer helfen warum der Dialog nicht kommt ?
lg