[Ajuda] PickUp.
#5

Vei nгo se converte pickup

vocк comeзa criando uma new '-'

PHP код:
new NovoPickup



Agora na OnGameModeInit Vocк coloca :

PHP код:
NovoPickup CreatePickup(123912386.9666,1741.7689,20); 


NovePickup : Definiu no comeзo ( A new )
CreatePickup : Cria a Pickup ( Avб )
1239 : ID Da Pickup
1 : o tipo da Pickup
2386.9666,1741.7689,20 : Coordenadas ( Mude para qual vocк quer dando /save )

Agora vai na OnPlayerPickUpPickup(playerid, pickupid)

Й faz isso :

PHP код:
if(pickupid == NovoPickup

//NovoPickup : Jб foi definido no comeзo ( A new )
    
GameTextForPlayer(playerid,"~G~LOL VOCE GANHO ARMA Q GAY '-'!"6000,4); // Manda uma mensagem para quem passo em cima da pickup
    
GivePlayerWeapon(playerid,24,9); //Da uma eagle com 9 de muniзгo ao passar por cima da pickup
    




Id das pickups :

Quote:
PHP код:
1210 Briefcase
1212 
Money
1239 
Onformation
1240 
Heart
1241 
Adrenaline pill
1242 
Armor
1247 
Bribe
1248 
Gta 3 logo
1252 
Grey bomb
1253 
Photo Op
1254 
rampage (single skull)
1313 two player rampage (skulls)
1272 blue house
1273 
green house
1274 
dollar
1275 
blue t-shirt
1276 
tiki 
1277 
save disk
1279 
drug bundle
1313 
2 skulls icon
1314 
2 player
1316 
Corona (textures missing)
1317 Checkpoint (textures missing)
1318 White arrow (pointing down)
1559 Interior enter/exit diamond
1582 
Pizza Box
2894 
Madd Dogg's rhyme book 
- Tipos de pickup '-'

Quote:
PHP код:
The pickup does not display.
 
Not pickupableexists all the time.
 
Pickupablerespawns after some time.
 
Pickupablerespawns after death
 4 
Disappears shortly after created (perhaps for weapon drops?)
 
Disappears shortly after created (perhaps for weapon drops?)
 
Pickupablebut has no effectDisappears automatically.
 
11 Blows up a few seconds after being created (bombs?)
 
12 Blows up a few seconds after being created.
 
13 Slowly decends to the ground.
 
14 Pickupablebut only when in a vehicleFalls through objects made with CreateObjectetc.
 
15 Pickupablerespawns after death
 19 
Pickupablebut has no effect (information icons?)
 
22 Pickupablerespawns after death.
 
23 Pickupablebut doesn't disappear on pickup. 
espero que entenda '-'
Reply


Messages In This Thread
PickUp. - by davi54723 - 08.10.2012, 21:09
Re: PickUp. - by Ouro - 08.10.2012, 21:29
Re: PickUp. - by Lucas-Fc - 08.10.2012, 21:40
Re: PickUp. - by davi54723 - 08.10.2012, 21:41
Re: PickUp. - by Diogo123 - 08.10.2012, 22:09
[No subject] - by Ouro - 08.10.2012, 22:29
Re: PickUp. - by davi54723 - 08.10.2012, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)