public OnPlayerStateChange( playerid, newstate, oldstate ){ if( newstate == PLAYER_STATE_DRIVER ) { // Send a message to the new driver! } return 1;}