Tuning
#1

Hey i've made tuning command but its work on buffalo...

Код:
	new vehicleid;
	vehicleid = GetPlayerVehicleID(playerid);
	if(!strcmp(cmdtext, "/Tune", true))
	{
	AddVehicleComponent(vehicleid, 1080); // Switch ratlankiai
	AddVehicleComponent(vehicleid, 1086); // Stereo
	AddVehicleComponent(vehicleid, 1087); // Hydraulics
	SendClientMessage(playerid, 0xFF000090, "* Car tuned sucessfully!");
	return 1;
	}
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 402)
	return
	SendClientMessage(playerid, 0xFF000090, "You cant tune buffalo");
	return 1;
	}
Reply
#2

pawn Код:
new vehicleid;
    vehicleid = GetPlayerVehicleID(playerid);
    if(strcmp(cmdtext, "/tune", true) == 0)
    {
        AddVehicleComponent(vehicleid, 1080); // Switch ratlankiai
        AddVehicleComponent(vehicleid, 1086); // Stereo
        AddVehicleComponent(vehicleid, 1087); // Hydraulics
        SendClientMessage(playerid, 0xFF000090, "* Car tuned sucessfully!");
        return 1;
    }
    else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 402)
    {
        SendClientMessage(playerid, 0xFF000090, "You cant tune buffalo");
    }
Should work... ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)