All pastes #408268 Raw Edit

Something

public lua v1 · immutable
#408268 ·published 2007-03-24 18:44 UTC
rendered paste body
a = 0function MissionBoat(PlayerID)	If IsConnected(PlayerID) then		If GetHealth(PlayerID) >= 1) then			if(a[PlayerID] == 1) return 0 end                        SendToPlayer(PlayerID,"Find the boat!",255,255,255)                        a[PlayerID] = 1			VehicleObject(0,255,255,255,1) --vehicle to show on radar as white                else return 0                end	else return 0	endend--the added boat would be id 0      function OnVehicleEnter(PlayerID,VehicleID)	if(a[PlayerID] == 1) then        	if(vehicleid == 0) then			SendToPlayer(PlayerID,"You found boat! $1000 for you",255,255,255)			MoneyToPlayer(PlayerID,1000)                end	endend