xFreazen 0 Odesláno: 19. Červenec, 2016 Share Odesláno: 19. Červenec, 2016 Hi, i would like to freeze player and his car (tramway) on a checkpoint. My code: if(CP[playerid] == 6000) { SendClientMessage(playerid, COLOR_JOB," "); SendClientMessage(playerid, COLOR_JOB,"[Information]{EBECE1} Arrêt actuel: Motel"); SendClientMessage(playerid, COLOR_JOB,"[Information]{EBECE1} Prochain arrêt: Chapelle"); SetPlayerCheckpoint(playerid, 2283.8784, -1419.8206, 24.4352, 3.0); TogglePlayerControllable(playerid,0); SetTimerEx("UnfreezePlayer",10000,false,"d",playerid); CP[playerid] = 6001; return 1; } All works well (timer, no errors...) but: the player is freeze and not the tramway. It's a real problem thank you for your help. Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 20. Červenec, 2016 Share Odesláno: 20. Červenec, 2016 try set speed to 0 http://wiki.sa-mp.com/wiki/SetVehicleVelocity or try "vehicle engine" off https://wiki.sa-mp.com/wiki/SetVehicleParamsEx Link to comment Share on other sites More sharing options...
Dotaz
xFreazen 0
Hi, i would like to freeze player and his car (tramway) on a checkpoint.
My code:
All works well (timer, no errors...) but: the player is freeze and not the tramway. It's a real problem thank you for your help.
Link to comment
Share on other sites
1 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