All pastes #87509 Raw Edit

Something

public c v1 · immutable
·published 2006-07-14 01:13 UTC
rendered paste body
public OnPlayerStateChange(playerid, newstate, oldstate){	if( newstate == PLAYER_STATE_DRIVER )	{		if(IsPlayerInVehicle(playerid, 7))		{			GameTextForPlayer(playerid, "~w~Bring this car to the ~r~checkpoint ~w~to sell it!",3000,5);			SetPlayerCheckpoint(playerid,1678.8834,2318.4619,10.8203, 2.0);			gPlayerCheckpointStatus[playerid] = CHECKPOINT_SELLPLACE;		}	}	else if( oldstate == PLAYER_STATE_DRIVER )	{		DisablePlayerCheckpoint(playerid);	}}