Attach 3Dtext to vehicle
#1

pawn Код:
if (strcmp("/sultan", cmdtext, true, 10) == 0)
        {
    if(IsPlayerLuxAdminLevel(playerid, 0))
        {
                if(IsPlayerInAnyVehicle(playerid))
                return SendClientMessage(playerid, 0xFFEEDD, "ERROR: You already have a Vehicle");

                new AdminSultan;
                GetPlayerPos(playerid,X,Y,Z);
                GetPlayerFacingAngle(playerid,Angle);
        AdminSultan = CreateVehicle(560,X,Y,Z,Angle,1,-1,-1);
                PutPlayerInVehicle(playerid,AdminSultan,0);
                AddVehicleComponent(AdminSultan, 1029);  AddVehicleComponent(AdminSultan, 1030); AddVehicleComponent(AdminSultan, 1141); AddVehicleComponent(AdminSultan, 1080);
              AddVehicleComponent(AdminSultan, 1031); AddVehicleComponent(AdminSultan, 1033); AddVehicleComponent(AdminSultan, 1138);
            AddVehicleComponent(AdminSultan, 1169);     AddVehicleComponent(AdminSultan, 1086); AddVehicleComponent(AdminSultan, 1087); AddVehicleComponent(AdminSultan, 1010);
                ChangeVehiclePaintjob(AdminSultan,2);
                SetVehicleVirtualWorld(AdminSultan, GetPlayerVirtualWorld(playerid));
        LinkVehicleToInterior(AdminSultan, GetPlayerInterior(playerid));
        }
       
        return 1;
        }
How can I attach a 3DText label above him?? And where should I put that code?

This is a stupid idea, but I want a dark blue text above the car all the time that says something

Thank you
Reply


Messages In This Thread
Attach 3Dtext to vehicle - by ColdIce - 13.06.2011, 19:20
Re: Attach 3Dtext to vehicle - by sleepysnowflake - 13.06.2011, 19:36
Re: Attach 3Dtext to vehicle - by ColdIce - 13.06.2011, 21:23
Re: Attach 3Dtext to vehicle - by Gertin - 13.06.2011, 21:55
Re: Attach 3Dtext to vehicle - by ColdIce - 13.06.2011, 22:07
Respuesta: Attach 3Dtext to vehicle - by K9- - 13.06.2011, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)