04.07.2018, 20:21
Hello, i'm trying to getthe taxi sign to light up when you do /taxi, here is my code, nothing happens:
I've made it using the https://sampforum.blast.hk/showthread.php?tid=282883 script to make it.
Thanks for your help.
I've made it using the https://sampforum.blast.hk/showthread.php?tid=282883 script to make it.
PHP Code:
new veh, Float:Pos[4];
GetPlayerPos(playerid, Float:Pos[0], Float:Pos[1], Float:Pos[2]);
GetPlayerFacingAngle(playerid, Float:Pos[3]); veh = CreateVehicle(420, Float:Pos[0], Float:Pos[1], Float:Pos[2], Float:Pos[3], -1, -1, 50000);
AttachObjectToVehicle(VehicleObject[0], veh, 0.000000,-0.415,0.92, 0.000000,0.000000,0.000000);
VehicleObject[0] = CreateObject(19294,0,0,-1000,0,0,0,100);