Делаем бесконечное нитро на левую кнопку мыши.
Для этого в public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) вставляем:
Code: Select all
if( newkeys == 1 || newkeys == 9 || newkeys == 33 && oldkeys != 1 || oldkeys != 9 || oldkeys != 33)//Нитро
{
new Car = GetPlayerVehicleID(playerid), Model = GetVehicleModel(Car);
switch(Model)
{
case 446,432,448,452,424,453,454,461,462,463,468,471,430,472,449,473,481,484,493,495,509,510,521,538,522,523,532,537,570,581,586,590,569,595,604,611: return 0;
}
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
Всё!