OnPlayerStateChange
#1

I used

Quote:

if(oldstate == PLAYER_STATE_ONFOOT && newstate == KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 230.8787,184.3384,1003.0313))
{
SendClientMessage(playerid,-1,"hi");
}
}

and

Quote:

if(newstate & KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 230.8787,184.3384,1003.0313))
{
SendClientMessage(playerid,-1,"hi");
}
}

But I get no message I am surely near the place
Reply


Messages In This Thread
OnPlayerStateChange - by playstores - 16.08.2018, 17:58
Re: OnPlayerStateChange - by KinderClans - 16.08.2018, 19:20
Re: OnPlayerStateChange - by playstores - 17.08.2018, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)