30.01.2014, 13:28
[Include] Extended vehicle functions
30.01.2014, 22:49
i mean getting the bonnet position like Getvehicleboot or GetVehicleRoof
09.02.2014, 00:52
Suggestion for you.
http://forum.sa-mp.com/showpost.php?...postcount=1030
Pretty sure this is possible right now
http://forum.sa-mp.com/showpost.php?...postcount=1030
Pretty sure this is possible right now
11.08.2014, 18:30
Erm, why is the gTopSpeed array cut off at 138 vehicles?
16.08.2014, 22:39
If i may suggest something
stock GetVehicleWheelPos(vehicleid,wheel,x,y,z);
stock GetVehicleWheelPos(vehicleid,wheel,x,y,z);
17.08.2014, 15:12
GetVehicleTopSpeed is not functioning in no way.
You have only 139 gTopSpeed array items. Please do not, DO NOT publish code that is not functional at all.
There are 212 vehicle models in total so driving a Vehicle Model ID: 609 will return nothing as you need all of the 212 array items. Of course you cannot drive trailers but array item should be in place i.e. 0.0 to close the gaps.
One more time:
Vehicle model 609-400=209, you do not have 209 gTopSpeed array items!
RUBBISH
You have only 139 gTopSpeed array items. Please do not, DO NOT publish code that is not functional at all.
There are 212 vehicle models in total so driving a Vehicle Model ID: 609 will return nothing as you need all of the 212 array items. Of course you cannot drive trailers but array item should be in place i.e. 0.0 to close the gaps.
One more time:
Vehicle model 609-400=209, you do not have 209 gTopSpeed array items!
RUBBISH
17.08.2014, 22:57
Quote:
GetVehicleTopSpeed is not functioning in no way.
You have only 139 gTopSpeed array items. Please do not, DO NOT publish code that is not functional at all. There are 212 vehicle models in total so driving a Vehicle Model ID: 609 will return nothing as you need all of the 212 array items. Of course you cannot drive trailers but array item should be in place i.e. 0.0 to close the gaps. One more time: Vehicle model 609-400=209, you do not have 209 gTopSpeed array items! RUBBISH |
18.08.2014, 01:53
(
Последний раз редактировалось Emmet_; 19.08.2014 в 07:28.
)
Thanks, I'll fix it later on today. I only compiled the data from an external site since I don't have a proper speed calculation method.
Great idea, thanks. I'll be able to implement it by today, if I'm lucky.
FYI, the array consists of data that I've compiled from another site. I knew about the issue for a month and never had time to fix it.
Edit: My idea is to use this for the values in the speed array. Just posting this here as a reminder when I check this thread later.
Quote:
If i may suggest something
stock GetVehicleWheelPos(vehicleid,wheel,x,y,z); |
Quote:
GetVehicleTopSpeed is not functioning in no way.
You have only 139 gTopSpeed array items. Please do not, DO NOT publish code that is not functional at all. There are 212 vehicle models in total so driving a Vehicle Model ID: 609 will return nothing as you need all of the 212 array items. Of course you cannot drive trailers but array item should be in place i.e. 0.0 to close the gaps. One more time: Vehicle model 609-400=209, you do not have 209 gTopSpeed array items! RUBBISH |
Edit: My idea is to use this for the values in the speed array. Just posting this here as a reminder when I check this thread later.
18.08.2014, 21:46
Quote:
Please do not, DO NOT publish code that is not functional at all.
|
If the code is not usable you should not implement it nor list it. I am not being childish, only you are if you make a big fuss out of small and true commentary criticisms.
The code is not functioning and crashes the server if it is implemented / linked with other systems. I have seen no comment on the main topic that this function is not functioning as intended.
For someone this might look obvious but you have not thought about everyone, in this case - inexperienced users who mostly use this forum.
Would be better off with, "oh sorry, I forgot to remove / update the function" not tried to turn me down in any manner. The code made me some headaches until I looked under the hood. IMHO you don't care.
02.07.2015, 20:44
Bug reporting time!
Main post says:
CallLocalFunction says:
BUUUTTTT Here's the problem you made inside the .inc! (I don't know if I'm using an older version?)
Main post says:
Код:
public OnVehicleDestroy(vehicleid) { // Returning 0 in this callback will not destroy the vehicle. return 1; }
Код:
if (CallLocalFunction("OnVehicleDestroy", "i", vehicleid) > 0 || funcidx("OnVehicleDestroy") == -1)
Код:
// Called when a vehicle is deleted. forward OnVehicleDestroyed(vehicleid);
21.03.2016, 15:13
Quote:
"This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff."
The Pastebin link is down. |
http://pastebin.com/mkwhbBGU
21.03.2016, 16:37
Quote:
I uploaded it myself on pastebin http://pastebin.com/mkwhbBGU |
26.08.2016, 07:46
(
Последний раз редактировалось Doritoss; 29.08.2016 в 23:35.
)
Anyway to fix this error (Seems like it only happens when someone is shooting and tabbed out):
Edit:
OnVehicleSpawn(vehicleid) gets overrided by OnVehicleCreated, so you need to use that function. Not sure if anyone is possibly wanting to fix this.
Код:
[03:34:53] [debug] AMX backtrace: [03:34:53] [debug] #0 0007d72c in public EVF_OnPlayerWeaponShot (0, 24, 0, 65535, 1153600512, -992957434, 1091146470) from test.amx [03:34:53] [debug] #1 000277d8 in public OnPlayerWeaponShot (0, 24, 0, 65535, 1153600512, -992957434, 1091146470) from test.amx
OnVehicleSpawn(vehicleid) gets overrided by OnVehicleCreated, so you need to use that function. Not sure if anyone is possibly wanting to fix this.
21.11.2016, 20:00
(
Последний раз редактировалось AbyssMorgan; 22.11.2016 в 16:37.
)
I started already update for this include will soon be available
Edit:
New version here: https://sampforum.blast.hk/showthread.php?tid=611142
Edit:
New version here: https://sampforum.blast.hk/showthread.php?tid=611142
« Next Oldest | Next Newest »
Users browsing this thread: 3 Guest(s)