13.07.2011, 18:52
How do I activate a command if the player is in range of point and pressed the right key?
im trying this
idk what to do
im trying this
pawn Code:
if (newkeys == KEY_LOOK_BEHIND)
{
if IsPlayerInRangeOfPoint(playerid, 2030.6146,1896.3336,12.1973)
{
SendClientMessage(playerid, COLOR_BLUE, "TEST COMPLETE");
}
else
{
SendClientMessage(playerid,COLOR_RED, "error");
}
return 1;
}