#1

I have menu for admin and there he can tune car,

lets say i have bullet (you cant add spoilers to this) in the menu there is spoilers and i can add on this, can i do something that checks the car before adding? if its a car that cant be tuned then it will send a message that he cant tune it
Reply
#2

Well, easy check:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == BULLET_ID) return SendClientMessage(playerid, -1, "Can't add spoiler to this vehicle!");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)