13.07.2018, 19:01
Код:
CMD:ltc( playerid, params[ ] ) { LoginCheck(playerid); VipCheck(playerid, 1); new Float:x, Float:y, Float:z, Float:Angle, VehiclulRt; if ( IsPlayerInAnyVehicle ( playerid )) return SendClientMessage( playerid, orange, "ERROR: You already have a vehicle" ); 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 ) ); return 1; }
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.