19.04.2015, 14:48
For some reason my gate won't open when pressing the HORN key.
My command /swipecard works, but the H key won't..
This is my code.
My command /swipecard works, but the H key won't..
This is my code.
Код:
if(newstate & KEY_CROUCH) { if(IsPlayerInRangeOfPoint(playerid, 3, 2850.5952,2613.0771,10.8203)) { MoveObject(Truck1Gate, 2857.20068, 2612.86646, 7.01409, 1); SendClientMessage(playerid, COLOR_ADMIN, "Poarta sa deschis pentru 6 secunde."); SetTimerEx("CloseGate", 10000, false, "i", playerid); } }