[Ajuda] Ammu Nation
#2

Seria isso?
PHP код:
CMD:entrarammu(playeridparams[])
{
if(
IsPlayerInRangeOfPoint(playerid,RatioXYZ)) //O Ratio significa uma бrea para suas coordenadas X,Y,Z, tipo vc pode colocar 2.0 no lugar do Ratio
SetPlayerInterior(playeridID);//Troque o ID pelo interior da ammu nation
SetPlayerPos(playeridX,Y,Z);//Coordenadas para o player spawnar dentro do interior
{
if(
IsPlayerInRangeOfPoint(playerid,RatioXYZ))//segundo ammu nation que vc quer colocar.
SetPlayerInterior(playeridID);//igual acima.
SetPlayerPos(playeridX,Y,Z);//tambem igual eu disse acima
}

Se der erro me avise, tbm sou novato.
Se der certo adicione mais IsPlayerInRangeOfPoint
Reply


Messages In This Thread
Ammu Nation - by BuDweiSeR - 20.12.2017, 14:47
Re: Ammu Nation - by Kledson - 20.12.2017, 15:43
Re: Ammu Nation - by BuDweiSeR - 20.12.2017, 15:56
Re: Ammu Nation - by Kledson - 20.12.2017, 16:00
Re: Ammu Nation - by Kledson - 20.12.2017, 16:03
Re: Ammu Nation - by zMorningStar - 20.12.2017, 16:05
Re: Ammu Nation - by BuDweiSeR - 22.12.2017, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)