Help with adding vehicle Componant
#1

Hello, once again with a scripting question(mabye I should get stickied with scripting questions*joke*)

I'm wondering how I can make it so Nitro gets added to every vehicle a player will enter.

Thanks.
Reply
#2

on top:
pawn Код:
#define COLOR_YELLOW 0xFFFF00AA
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SendClientMessage(playerid, -1, ""#COL_YELLOW"Nitro Added");
    AddVehicleComponent(vehicleid, 1010);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)