17.05.2014, 07:27
I wanted to ask how can i bind a command to a button? like at this situation when I want to start robbery in a shop i have to press alt.
Edit For the moment i have only this
Edit For the moment i have only this
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_CROUCH))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 754.16119, -40.84430, 999.99481))
{