#1

how I can tow the car without any CMD ? please help
Reply
#2

Tip: Use your keyboard ._.
Reply
#3

how....
Reply
#4

I dont get it - You want to SCRIPT towing, or do you want to learn how to tow like in the normal GTA SA ?
Reply
#5

Untested.
pawn Код:
// PRESSED(keys)
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
    if( PRESSED( KEY_FIRE ) )
    {
        if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 525 ) return SendClientMessage( playerid, -1, "You are not in a tow truck" );
        if(IsTrailerAttachedToVehicle( GetPlayerVehicleID( playerid ) ) )
        {
            DetachTrailerFromVehicle( GetPlayerVehicleID( playerid ) );
        }
        else
        {
            AttachTrailerToVehicle( GetPlayerVehicleID( playerid ), GetPlayerVehicleID( playerid ) );
        }
    }
    return 1;
}
Reply
#6

yes.... thanks....
Reply
#7

don't work (
Reply
#8

please help!
Reply
#9

Did you even press the fire button to test?
Reply
#10

I'm sorry, what makes you so special that you have to bump your thread three times within an hour? Please have a little respect and patience.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)