24.06.2016, 22:51
Quote:
CMD:entrar(playerid)//PRF entrada { if(IsPlayerInRangeOfPoint(playerid, 2.0, X, Y, Z)) { SetPlayerPos(playerid, X, Y, Z); SetPlayerInterior(playerid, 0);// 0 й fora de qualquer interior return 1; } return 1; } |
Quote:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if((newkeys == KEY_SECONDARY_ATTACK)) { cmd_entrar(playerid); } return 1; } |