Red marker dialog menu
#6

Quote:
Originally Posted by Gammix
Посмотреть сообщение
First you need to detect if the player is near the desired location, use this under a callback like OnPlayerPosChange (not a SAMP function but can be found here: https://sampforum.blast.hk/showthread.php?tid=573961)
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Now when the player is near, use this:
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint

To make a dialog open up whenever the player enters the CP, use this callback:
https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint

Or Streamer plugin may help you: https://sampforum.blast.hk/showthread.php?tid=102865
Looks great, can you just show me how to use

Код:
public OnPlayerPosChange(playerid, Float:newx, Float:newy, Float:newz, Float:oldx, Float:oldy, Float:oldz)
{
	return 1;
}
Reply


Messages In This Thread
Red marker dialog menu - by DavidSparks - 20.06.2015, 09:36
Re: Red marker dialog menu - by Rodri99 - 20.06.2015, 09:38
Re: Red marker dialog menu - by UltraScripter - 20.06.2015, 09:39
Re: Red marker dialog menu - by Gammix - 20.06.2015, 09:42
Re: Red marker dialog menu - by Rodri99 - 20.06.2015, 09:42
Re: Red marker dialog menu - by DavidSparks - 20.06.2015, 10:07
Re: Red marker dialog menu - by Rodri99 - 20.06.2015, 10:09
Re: Red marker dialog menu - by Gammix - 20.06.2015, 10:18
Re: Red marker dialog menu - by DavidSparks - 20.06.2015, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)