AttachObjectToVehicle
#1

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
Reply
#2

no one? Please help
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)