Question
#3

Код:
if(IsModelABike(vehicleid)) // Bike - helmet
            {
                SeatBelt[playerid] = 0;
                if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, helmet[0]); // Removing his helmet
                if (Masked[playerid] == 1) format(string, sizeof(string), "*Stranger_%d removes the safety helmet.", maskid[playerid]);
                else format(string, sizeof(string), "*%s removes the safety helmet.", sendername);
                ProxDetector(8.0, playerid, string,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA);
                return 1;
            }
            else // SEATBELT
            {
                SeatBelt[playerid] = 0;
                if (Masked[playerid] == 1) format(string, sizeof(string), "*Stranger_%d unbuckles his seatbelt.", maskid[playerid]);
                else format(string, sizeof(string), "*%s unbuckles his seatbelt.", sendername);
                ProxDetector(8.0, playerid, string,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA,0x33CCFFAA);
            }
In

Код:
OnPlayerExitVehicle
Reply


Messages In This Thread
Question - by Lajko1 - 03.08.2014, 10:16
Re: Question - by KayJ - 03.08.2014, 10:20
Re: Question - by McBan - 03.08.2014, 10:43
Re: Question - by Lajko1 - 03.08.2014, 10:47
Re: Question - by McBan - 03.08.2014, 11:00
Re: Question - by Threshold - 03.08.2014, 11:10
Re: Question - by Lajko1 - 03.08.2014, 12:35
Re: Question - by Threshold - 03.08.2014, 15:03
Re: Question - by Lajko1 - 03.08.2014, 15:35
Re: Question - by ViniBorn - 03.08.2014, 16:28

Forum Jump:


Users browsing this thread: 2 Guest(s)