SA-MP Forums Archive
How can i do this - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can i do this (/showthread.php?tid=185580)



How can i do this - iTorran - 25.10.2010

I want to make the boot of my car open..

It seems possible using both of these:
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
https://sampwiki.blast.hk/wiki/DoorStates

But the DoorStates one just confuses me :S
So does anyone know how i can make the boot open with no damage?


Re: How can i do this - legodude - 25.10.2010

00000000 00000000 0000000 00000001

correct me if i am wrong but what i get from it this means the hood is open.

*testing*

Edit: WRONG.

let me make it right

EDIT2:
UpdateVehicleDamageStatus(vehicleid, 00000000, 00000001, 0000000, 00000000);

this line will make the hood open


Re: How can i do this - iTorran - 25.10.2010

Why i get undefined symbol when i use UpdateVehicleDamageStatus

I have SA-MP 0.3b R2


Re: How can i do this - Angelus~ - 25.10.2010

When i try any of this it never really works 100%
it only works half the time, and i can't get the trunk to open
I can open the hood, driver's and passenger's door >.>


Re: How can i do this - iTorran - 25.10.2010

Quote:
Originally Posted by Angelus~
Посмотреть сообщение
When i try any of this it never really works 100%
it only works half the time, and i can't get the trunk to open
I can open the hood, driver's and passenger's door >.>
Ok but i still need to fix this error :P


Re: How can i do this - JaTochNietDan - 25.10.2010

Quote:
Originally Posted by iTorran
Посмотреть сообщение
Why i get undefined symbol when i use UpdateVehicleDamageStatus

I have SA-MP 0.3b R2
It's not defined. You're probably using outdated includes, make sure that you replace all of the includes in the pawno/includes directory of your working Pawno editor directory.


Re: How can i do this - iTorran - 25.10.2010

Quote:
Originally Posted by legodude
Посмотреть сообщение
00000000 00000000 0000000 00000001

correct me if i am wrong but what i get from it this means the hood is open.

*testing*

Edit: WRONG.

let me make it right

EDIT2:
UpdateVehicleDamageStatus(vehicleid, 00000000, 00000001, 0000000, 00000000);

this line will make the hood open
I need trunk