lekpri 0 Odesláno: 16. Listopad, 2014 Share Odesláno: 16. Listopad, 2014 Poradí někdo jak bych udělal aby se auto na Checkpointu zastavilo a pak aby se zase rozjelo. Dík za rady Link to comment Share on other sites More sharing options...
0 Polisek 76 Odesláno: 16. Listopad, 2014 Share Odesláno: 16. Listopad, 2014 Asi bych to udělal takhle http://wiki.sa-mp.com/wiki/TogglePlayerControllable Link to comment Share on other sites More sharing options...
0 lekpri 0 Odesláno: 16. Listopad, 2014 Author Share Odesláno: 16. Listopad, 2014 Ok dík podívám se nějak to nejde mám to takto ale nevím kam mám dát to aby zastavil a zase jel { if(IsPlayerInCheckpoint(playerid)) DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, "~g~500$", 2000, 5); SetPlayerCheckpoint(playerid,1923.1622,2315.4148,10.6719,10); Bus[playerid] = MP3; GivePlayerMoney(playerid,500); } Link to comment Share on other sites More sharing options...
0 Lusky 4 Odesláno: 16. Listopad, 2014 Share Odesláno: 16. Listopad, 2014 Vytvor si timer a do neho to vlož. Link to comment Share on other sites More sharing options...
0 Akai 1 Odesláno: 16. Listopad, 2014 Share Odesláno: 16. Listopad, 2014 Žádnej timer. SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0); Link to comment Share on other sites More sharing options...
0 lekpri 0 Odesláno: 16. Listopad, 2014 Author Share Odesláno: 16. Listopad, 2014 Jenže mě to hodí Error number of arguments does not match definition { if(IsPlayerInCheckpoint(playerid)) DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, "~g~500$", 2000, 5); SetPlayerCheckpoint(playerid,1923.1622,2315.4148,10.6719,10); SetVehicleVelocity(GetPlayerVehicleID(playerid), 1923.1622,2315.4148,10.6719,10); Bus[playerid] = MP3; GivePlayerMoney(playerid,500); } Link to comment Share on other sites More sharing options...
0 Akai 1 Odesláno: 16. Listopad, 2014 Share Odesláno: 16. Listopad, 2014 SetVehicleVelocity(GetPlayerVehicleID(playerid), 1923.1622,2315.4148,10.6719,10); To nastavuje rychlost, ve tvém případě chceš nulu, takže to nech tak, jak jsem ti to poslal. SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0); Link to comment Share on other sites More sharing options...
Dotaz
lekpri 0
Poradí někdo jak bych udělal aby se auto na Checkpointu zastavilo a pak aby se zase rozjelo.
Dík za rady
Link to comment
Share on other sites
6 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now