player car help
#3

pawn Код:
public OnPlayerStateChange( playerid, newstate, oldstate )
{
    if( newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER ) // Check if the player was in the vehicle as a driver.
    {
        // If engine is on
        SendClientMessage( playerid, 0xFFFFFFFF, "SERVER: Don't forget to turn the engine off!" );
    }
    return 1;
}
Reply


Messages In This Thread
player car help - by yarrum3 - 03.01.2011, 11:51
Re: player car help - by Alex_Valde - 03.01.2011, 12:01
Re: player car help - by JamesC - 03.01.2011, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)