10.08.2009, 23:03
If you just want to show the message......
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 420)
{
if(ispassenger)
{
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"You have entered a drivers vehicle. Type /onduty to go on duty as a taxi driver");
SendClientMessage(playerid,COLOR_RED,"All taxi drivers have a fixed rate of $1 / Minute. You get a bonus for picking passengers up");
}
return 1;
}
}
return 1;
}