16.08.2018, 17:58
I used
and
But I get no message I am surely near the place
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"); } } |
Quote:
if(newstate & KEY_SECONDARY_ATTACK) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 230.8787,184.3384,1003.0313)) { SendClientMessage(playerid,-1,"hi"); } } |