[HELP] PlayerToPoint with HOTKEY is not working.. :/
#7

Quote:
Originally Posted by David.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
    if(newkeys == KEY_ACTION && PlayerToPoint(1, playerid, -2038.6663,-87.8214,35.3203)) {
            SetPlayerPos(playerid, -2038.6670,-87.1617,35.4203);
            return 1;
        }
    }
    return 1;
}
David
That will only work if the player is only pressing 1 key.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)