26.08.2013, 10:24
(
Последний раз редактировалось ProjectMan; 26.08.2013 в 12:31.
)
Quote:
pawn Код:
|
pawn Код:
public OnPlayerStateChange( playerid, newstate, oldstate )
{
if( newstate == PLAYER_STATE_DRIVER)
{
if (GetPlayerVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
SendClientMessage(playerid, color, "You are the driver of this vehicle!");
}
}
return 1;
}