[Ajuda] Com Sistema de Presentes
#2

OnPlayerKeyStateChange

pawn Code:
KEY_SECONDARY_ATTACK // Enter/F
GetPlayerPos

IsPlayerInRangeOfPoint

Um Exemplo:
pawn Code:
new Float: X, Float: Y, Float: Z; / no topo do gm
new cX,zY,cZ; // no topo do gm

GetPlayerPos(playerid,X,Y,Z);
cX = X;
cY= Y;
cY= Z;

if(IsPlayerInRangeOfPoint(playerid, 2.0,cX,cY,cZ))
Reply


Messages In This Thread
Com Sistema de Presentes - by WendeLKILL - 14.05.2014, 18:21
Re: Com Sistema de Presentes - by MultiKill - 14.05.2014, 18:52
Re: Com Sistema de Presentes - by WendeLKILL - 14.05.2014, 19:03
Re: Com Sistema de Presentes - by Kuddy - 14.05.2014, 19:06
Re: Com Sistema de Presentes - by DogeMan - 14.05.2014, 19:06
Re: Com Sistema de Presentes - by MultiKill - 14.05.2014, 19:16
Re: Com Sistema de Presentes - by DogeMan - 14.05.2014, 19:19
Re: Com Sistema de Presentes - by MultiKill - 14.05.2014, 19:21
Re: Com Sistema de Presentes - by WendeLKILL - 14.05.2014, 19:28

Forum Jump:


Users browsing this thread: 1 Guest(s)