SA-MP Forums Archive
[HELP] AttachObjectToVehicle - 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)
+--- Thread: [HELP] AttachObjectToVehicle (/showthread.php?tid=278340)



[HELP] AttachObjectToVehicle - Alvin007 - 21.08.2011

Hey everybody , i donno why AttachObjectToVehicle is'nt working , what do i have to do please ?
Cuz when i compile it i see: Error:Attachobjecttovehicle is already defined


Thanks.


Re: [HELP] AttachObjectToVehicle - Horrible - 22.08.2011

Quote:
Originally Posted by Alvin007
View Post
Hey everybody , i donno why AttachObjectToVehicle is'nt working , what do i have to do please ?
Cuz when i compile it i see: Error:Attachobjecttovehicle is already defined


Thanks.
can see the code?


Re: [HELP] AttachObjectToVehicle - =WoR=G4M3Ov3r - 22.08.2011

Try adding it under :

PHP Code:
public OnGameModeInit()




Re: [HELP] AttachObjectToVehicle - [MWR]Blood - 22.08.2011

Show the code...
Aswell I don't see how adding it under gamemodeinit would work.


Re : [HELP] AttachObjectToVehicle - Alvin007 - 22.08.2011

sorry i'm coming everyday connecting from an internet cafe , and what you will see in the code is just like what i wrote. Thank you again , i need help


Re: [HELP] AttachObjectToVehicle - Davz*|*Criss - 22.08.2011

So its very hard to understand without showing code, so please post code to understand what's the problem.


Re: [HELP] AttachObjectToVehicle - Zonoya - 22.08.2011

its AttachObjectToVehicle not Attachobjecttovehicle and if ur using a streamer it wont work use createobject first then AttachObjectToVehicle


Re: [HELP] AttachObjectToVehicle - Davz*|*Criss - 22.08.2011

Dude read properly!

He mean he get an error that AttachObjectToVehicle is already defined!

I think you have already defined AttachObjectToVehicle!
@


Re: [HELP] AttachObjectToVehicle - Zonoya - 22.08.2011

sorry haven't got my head on me today but it says
Quote:

Error:Attachobjecttovehicle is already defined

not AttachObjectToVehicle


Re: [HELP] AttachObjectToVehicle - Zonoya - 22.08.2011

as u wouldn't need to define AttachObjectToVehicle As It Comes With PAWNO


Re : [HELP] AttachObjectToVehicle - Alvin007 - 15.10.2011

damn.. where do i have to put AttachObjectToVehicle ! after onplayerclassselection , ongamemodeinit etc.. under what , because where do i have to define: AttachObjectToVehicle(vehicleid);