Jump to content
  • 0

Intrebare pentru o comanda pusa de mine in LuxAdmin.


Question

Posted

Salut tuturor!

Am pus o comanda in LuxAdmin :

dcmd_ltc1(playerid,params[])
    {
        new Float:x, Float:y, Float:z, Float:Angle, VehiclulRt;

    if(AccInfo[playerid][pVip] > 1)
            {
                    if ( IsPlayerInAnyVehicle( playerid ) )
                    {
                            SendClientMessage( playerid, RED, "ERROR: You already have a vehicle" );
                    } else  {
                           GetPlayerPos( playerid, x, y, z);
                            GetPlayerFacingAngle( playerid, Angle );
                    VehiclulRt = CreateVehicle( 560, x, y, z, Angle, 1, -1, -1 );
                            PutPlayerInVehicle( playerid, VehiclulRt, 0);
                            AddVehicleComponent( VehiclulRt, 1028 );        AddVehicleComponent( VehiclulRt, 1030 );        AddVehicleComponent( VehiclulRt, 1031 );        AddVehicleComponent( VehiclulRt, 1138 );        AddVehicleComponent(VehiclulRt, 1140);  AddVehicleComponent(VehiclulRt, 1170);
                    AddVehicleComponent( VehiclulRt, 1028 );        AddVehicleComponent( VehiclulRt, 1030 );        AddVehicleComponent( VehiclulRt, 1031 );        AddVehicleComponent( VehiclulRt, 1138 );        AddVehicleComponent(VehiclulRt, 1140);  AddVehicleComponent(VehiclulRt, 1170);
                    AddVehicleComponent( VehiclulRt, 1080 );        AddVehicleComponent( VehiclulRt, 1086 );        AddVehicleComponent( VehiclulRt, 1087 );        AddVehicleComponent( VehiclulRt, 1010 );
                            PlayerPlaySound( playerid, 1133, 0.0, 0.0, 0.0 );
                            ChangeVehiclePaintjob( VehiclulRt, 0 );
                            SetVehicleVirtualWorld( VehiclulRt, GetPlayerVirtualWorld( playerid ) );
                            LinkVehicleToInterior( VehiclulRt, GetPlayerInterior( playerid ) ); }
            } else {
}
            return 1;
    }
Cand am dat compile, mi-a dat eroarea asta :
C:\Users\thebwgg\Desktop\LuxAdmin.pwn(2485) : warning 203: symbol is never used: "params"

Daca scot "1" de la comanda, nu imi mai da eroarea asta.

Nu se poate face nimic pentru aceasta problema ? Adica sa pot face comanda cu o cifra ?

www.youtube.com/thebwgg

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.