13.01.2010, 21:00
Ok, i've got a question. I have cop cars for when you get in them you have to type /takecar, Now i got them set for cop vehicle models but i would also like to add carids to it, So i could set like a infernus the same way but i don't wanna set all infernus the same way, Only certian carids. Like if an infernus is id 1 2 and 4 i could set it for those ids insteald of the models, Here is my code for Isacopcar, How would i add the carids and leave the vehiclemodels. So bascially what i wanna do is, Enter carid 1 and it will say the same thing as the cop cars, Would i have to set the cop cars to modelis also or can i just add carids to this code
Код:
public IsACopCar(carid) { new vmod = GetVehicleModel(carid); if((vmod == 523) || (vmod == 596) || (vmod == 597) || (vmod == 497) || (vmod == 427) || (vmod == 601) || (vmod == 490) || (vmod == 523) || (vmod == 599)) { return 1; } return 0; }