- 0
Create Vehicle
-
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
Mihaela
Hey all , am si eu o problema cu ModelSelection cand dau la el sa selectez o masina , o spawneaza merge totul perfect doar ca...nu ma da in ea ...
public OnPlayerModelSelection(playerid, response, listid, modelid) { new Float:X,Float:Y,Float:Z,Float:Angle; if(listid == vehlist) { if(response) { CreateVehicleEx(playerid,modelid, X,Y,Z+1, Angle, random(126), random(126), -1); } return 1; }stock CreateVehicleEx(playerid, vehicletype, Float:X, Float:Y, Float:Z, Float:rotation, color1, color2, respawn_delay) { MyVeh = CreateVehicle(vehicletype, X, Y, Z, rotation, color1, color2, respawn_delay); PutPlayerInVehicle(playerid, MyVeh, 0); return 1; }ce pot face? Nu inteleg din ce cauza nu functioneaza
1 answer to this question
Recommended Posts