08.09.2010, 16:44
this goes above the main function
this goes under GameModeInit
Look for OnPlayerEnterVehicle in your script and add this
hope it helps
pawn Код:
new vehicle1;
pawn Код:
vehicle1 == AddStaticVehicle(bla, bla, bla);

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new string[128];
format(string, sizeof(string), "You are entering vehicle %i",vehicleid);
SendClientMessage(playerid, COLOR, string);//Replace COLOR with the color of the text you want
return ChangeVehicleColor(vehicleid,color,color);//Ofcourse change vehicleid and colors
}