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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AttachObjectToVehicle (
/showthread.php?tid=222922)
AttachObjectToVehicle -
luis_lpv_22 - 08.02.2011
Hi all, I'm making a system which adds car parts to cars, for example, a spoiler. So each car have a different coordinates to attach the spoiler.
pawn Код:
CMD:spoiler(playerid,params[])
{
if(IsPlayerInVehicle(playerid,540)) AttachObjectToVehicle(spoiler,vehicleid,"540 coordinates");
// This is a long way...
return 1;
}
There are a fast way to identify the vehicle and attach the coordinates that, for example, will be stored in an enum or in a txt file?
Thanks
Respuesta: AttachObjectToVehicle -
luis_lpv_22 - 08.02.2011
no one? Please help
AW: AttachObjectToVehicle -
xerox8521 - 08.02.2011
Quote:
Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 48 hours old, and it needs to have useful information about your problem.
|
read what the rules says