SA-MP Forums

SA-MP Forums (
-   Help Archive (
-   -   Vehicle point to point help. (

osanji 27/12/2009 10:40 PM

Vehicle point to point help.
Hi there,

I want to put in my gamemode that when a vehicle enters a point, not a checkpoint, a menu pops up so they do not have to type.
For instance, when a vehicle enters a gas station instead of typing in a command, the menu for the gas fill up pops up. I am trying to cut down on players having to type commands for everything. The reason for this is so if an admin is not on the server, the user will have an easier time understanding the servers functions without having to memorize all of the commands. I am still using commands for the server, but, that is more for admins and rcons. Obviously some text-base commands are inevitable especially for the different chat systems.

Anyway, can I make "something happen" when a "vehicle enters point" without the use of checkpoints? Thank You.

dice7 27/12/2009 10:41 PM

Re: Vehicle point to point help.

osanji 27/12/2009 11:31 PM

Re: Vehicle point to point help.
public OnPlayerPickUpPickup(playerid, pickupid)

if(IsPlayerInRangeOfPoint(playerid, 12.0,-2527.4775,2324.3149,4.5508))


return 1;

/*****Above is Bayside Marina *****/

return 0;

It will not bring up my menu for my Realtor Business while inside vehicle.
I have tried many different things and can not figure this out. PS, there is no errors, it compiles just fine.

osanji 31/12/2009 01:10 PM

Re: Vehicle point to point help.
Okay, I am at wit's end.

All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.