19.08.2008, 13:33
Код:
forward IsInModVehicle(playerid); public IsInModVehicle(playerid) { if(IsPlayerInAnyVehicle(playerid)) { new modmodel = GetVehicleModel(GetPlayerVehicleID(playerid)); switch(modmodel) { case 445,602,429,496,422,401,518,402,541,438,527,415,542,589,480,507,585,419,587,533,526,466,492,474,579,545,411,546,400,517,410,551,500,418,516,467,404,603,600,426,436,547,489,479,442,475,405,458,580,439,409,550,506,566,549,420,451,540,491,412,478,421,529,555,477,562,565,559,561,560,558,536,575,534,567,535,576: { return true; // these are moddable vehicles } } } return false; }