how to put an "i" in an area
#4

Why he should aim to get the job lol, about Y you can use OnPlayerKeyStateChange

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Also Y button is KEY_YES

https://sampwiki.blast.hk/wiki/Keys

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(newkeys & KEY_YES)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 10.0, actorX, actorY, actorZ))
		{
			// Get Job
		}
	}
	return 1;
}
Reply


Messages In This Thread
how to put an "i" in an area - by NealPeteros - 10.01.2016, 09:40
Re: how to put an "i" in an area - by SecretBoss - 10.01.2016, 09:44
Re: how to put an "i" in an area - by NealPeteros - 10.01.2016, 09:53
Re: how to put an "i" in an area - by SecretBoss - 10.01.2016, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)