15.10.2013, 06:41
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
GameTextForPlayer(playerid,"~w~Text",4000,3);
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
GameTextForPlayer(playerid,"~w~Text",4000,3);
return 1;
}
if(newstate == PLAYER_STATE_DRIVER)
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver
{
GameTextForPlayer(playerid,"~w~Text",4000,3);
}
return 1;
}