fasd Posted January 2, 2016 Share Posted January 2, 2016 (edited) Salutare. As vrea sa stiu si eu cum pot face ca atunci cand vreau sa ies/intru intr-un business/casa sa apas direct ENTER sau F.Sper sa ma puteti ajuta. Edited January 2, 2016 by Floriank Link to comment Share on other sites More sharing options...
CRAZYSZ Posted January 2, 2016 Share Posted January 2, 2016 public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){if(newkeys == KEY_SECONDARY_ATTACK) {if (IsPlayerInRangeOfPoint(playerid, 2, x ,y,z)) // locul unde sa apese F {SetPlayerPos(playerid, x,y,z); //locul unde sa il teleporteze } }} Link to comment Share on other sites More sharing options...
Ewann Posted January 2, 2016 Share Posted January 2, 2016 public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_SECONDARY_ATTACK) { if (IsPlayerInRangeOfPoint(playerid, 2, x ,y,z)) // locul unde sa apese F { SetPlayerPos(playerid, x,y,z); //locul unde sa il teleporteze } } } Scripter de profesie. Daca faci prostia sa pui newkeys == KEY_SECONDARY_ATTACK n-o sa mai intri din run in cladire. Cel mai bine e sa folosesti newkeys && KEY_SECONDARY_ATTACK. 1 Link to comment Share on other sites More sharing options...
Recommended Posts