14.02.2009, 12:15
Quote:
Originally Posted by KANiS6111
Yes it's possible...
Try this: Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_SECONDARY_ATTACK) { if(!(GetPlayerInterior(playerid) == teh_casino_interior_id)) return 1; new Float:tmp[3]; GetPlayerPos(playerid,tmp[0],tmp[1],tmp[2]); SetPlayerPos(playerid,tmp[0],tmp[1],tmp[2]); } return 1; } |