- 0
Problema SetVehicleVelocity
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Users
Sallut , am incecat sa adaug si eu SetVehicleVelocity pe un infernus si nu mi-a reusit deoarece imi da ca nu gaseste SetVehicleVelocity.
Cand am incercat sa adaug pe toate modelurile de infernus dupa server si se compileaza fara eroare.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & 4)// <- ALT, 1 pt CTRL { if(GetPlayerState(playerid) == 2) { new veid = GetPlayerVehicleID( playerid ); if(GetVehicleModel( veid ) == 411) //infernus { new Float:X,Float:Y,Float:Z; GetVehicleVelocity(veid,X,Y,Z); SetVehicleVelocity(veid,X * 1.3, Y * 1.3, Z * 1.3); } } } }Va rog spunetimi si mie cum pot adauga doar pe o singura masina nu pe toate modelurile.
HostName: [RPG]*|| Ecila Royal Gaming ||*-WIPED
Address: 93.114.82.70:7777
6 answers to this question
Recommended Posts