21.03.2013, 18:13
Here's just a simple example to show you, I'll be using the infernus as a racevehicle now.
This should check if the vehicle is ID 411, and if it is it will send you the message.
Код:
new RaceVehicle = 411; if(GetVehicleModel(GetPlayerVehicleID(playerid)) == RaceVehicle) { SendClientMessage(playerid, COLOR_RED, "This vehicle is only for race."); }