IsPlayerInDynamicCP
#4

Try this

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(newkeys & KEY_WALK)
	{
		if(IsPlayerInDynamicCP(playerid, CP_ID)) // CheckPoint
		{
			// Code
		}
	}
	return 1;
}
If this won't work try to debug it, you probably made something wrong on creating the CP
Reply


Messages In This Thread
IsPlayerInDynamicCP - by HuntingMan - 10.04.2016, 20:52
Re: IsPlayerInDynamicCP - by introzen - 11.04.2016, 08:01
Re: IsPlayerInDynamicCP - by sampkinq - 11.04.2016, 11:32
Re: IsPlayerInDynamicCP - by SecretBoss - 11.04.2016, 12:22
Re: IsPlayerInDynamicCP - by HuntingMan - 11.04.2016, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)