[Ajuda] Pickups
#8

por comando eu nгo sei.. + tenta assim...


pawn Код:
Topo
new pituxa[5];
---------------------
public OnGameModeInit()
pituxa[0] = AddStaticPickup(1240, 2, 2251.6650,2448.9463,10.8203);
pituxa[1] = AddStaticPickup(1242, 2, 2251.7439,2454.5178,10.8203);
pituxa[2] = AddStaticPickup(1241, 2, 2246.1846,2451.8403,10.8203);
esses sгo aqueles pegaveis.. life, vida, e velo

agora com teleporte.....

pawn Код:
Topo
new ADMINCasa[4];
---------------------
public OnGameModeInit()
ADMINCasa[0] = CreatePickup(1273, 26, 2365.2771,-1135.5969,1050.8826);
ADMINCasa[1] = CreatePickup(1273, 26, 493.3482,-24.5598,1000.6797);
--------
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == ADMINCasa[0])
{
SetPlayerPos(playerid, 2015.8319,1545.3765,10.8319);//Colocarб o jogador na posiзгo.
SetPlayerFacingAngle(playerid, 267.4865);//Colocarб o jogador em uma rotaзгo.
SetPlayerInterior(playerid,0);//Interior
return 1;
}

if (pickupid == ADMINCasa[1])
{
SetPlayerPos(playerid, 2015.8319,1545.3765,10.8319);//Colocarб o jogador na posiзгo.
SetPlayerFacingAngle(playerid, 267.4865);//Colocarб o jogador em uma rotaзгo.
SetPlayerInterior(playerid,0);//Interior
return 1;
}
return 0;
}
eu faзo assim dai tu + ou tira a ideia para fazer o que tu quer... espero ter ajudado =p
Reply


Messages In This Thread
[Ajuda] Pickups - by Kuddy - 18.09.2011, 14:23
Re: [Ajuda] Pickups - by Dolby - 18.09.2011, 14:47
Re: [Ajuda] Pickups - by Kuddy - 18.09.2011, 14:50
Re: [Ajuda] Pickups - by Kuddy - 18.09.2011, 16:13
Re: [Ajuda] Pickups - by Leeo_Perez - 18.09.2011, 16:15
Re: [Ajuda] Pickups - by Kuddy - 18.09.2011, 16:19
Re: [Ajuda] Pickups - by [O.z]Caroline - 18.09.2011, 16:20
Re: [Ajuda] Pickups - by ApolloRJ - 18.09.2011, 16:21
Re: [Ajuda] Pickups - by Leeo_Perez - 18.09.2011, 16:21
Re: [Ajuda] Pickups - by Kuddy - 18.09.2011, 16:36

Forum Jump:


Users browsing this thread: 2 Guest(s)