[AJUDA] Pickups interior com teleport
#5

Eu acho que iria ficar mais ou menos assim:

Quote:

#include <a_samp>
new saidamercadinho;


public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" FilterScript de Pickups");
print("--------------------------------------\n");
saidamercadinho = CreatePickup(1239,1,1080.7534,-1698.3827,13.5469,0); // Mude as coordenadas pra onde o pickup de saida vai ficar
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == saidamercadinho)
{
SetPlayerPos(playerid, 833.269775,10.588416,1004.179687); // Mude as coordenadas pra onde o player vai sair
SetPlayerInterior(playerid, 0);
}
return 1;
}

Reply


Messages In This Thread
[AJUDA] Pickups interior com teleport - by RNT - 01.02.2012, 20:39
Re: [AJUDA] Pickups interior com teleport - by Lucas_Alemao - 01.02.2012, 20:44
Re: [AJUDA] Pickups interior com teleport - by Hard` - 01.02.2012, 20:44
Respuesta: [AJUDA] Pickups interior com teleport - by RNT - 01.02.2012, 20:53
Re: [AJUDA] Pickups interior com teleport - by Hard` - 01.02.2012, 20:58
Respuesta: [AJUDA] Pickups interior com teleport - by RNT - 01.02.2012, 20:59
Re: [AJUDA] Pickups interior com teleport - by Lucas_Alemao - 01.02.2012, 21:05
Respuesta: [AJUDA] Pickups interior com teleport - by RNT - 01.02.2012, 21:08
Re: [AJUDA] Pickups interior com teleport - by humildadeforever - 01.02.2012, 21:22
Respuesta: [AJUDA] Pickups interior com teleport - by RNT - 01.02.2012, 21:26

Forum Jump:


Users browsing this thread: 2 Guest(s)