Jump to content
  • 0

Dezactivare Pickup


mura

Question

5 answers to this question

Recommended Posts

Ruben" post="78521" timestamp="1308569556"]

Pune si ala in script!

ruben el a folosit DestroyPickup(pickup);

dar el nu are in gm pickup = CreatePickup..... el are direct CreatePickup

daca face cum ai zis tu nu se intampla nimic[depinde cum a pus el]

pune codul aici[nu tot gm-ul]

unde ai creat pickup-ul ai CreatePickup

pui asa

new pickup = CreatePickup(ce ai tu);

daca nu te descurci pune aici codul

Link to comment
Share on other sites

1.Te uiti in GM unde ai pickup-ul pe care vrei sa il distrugi te uiti ce are inainte de = CreatePickup de ex:

exemple = CreatePickup(1239, 23,  422.5909,2478.0986,16.4922);
2.Te duci la:
public OnPlayerPickUpPickup(playerid, pickupid)
{
3.Pui:
if (pickupid == exemple)
    {
	DestroyPickup(playerid);
	//si functiile pe care vrei sa le adaugi dupa ce playeru sa dus in pickup-ul exemplus
    }

si cam atata...

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By DiBlaine
      Salutare, astazi am facut un tutorial cu pickup-uri dinamice + salvare in baza de date care se pot creea si edita direct din joc, sper sa va placa si sper sa va fie de folos. As aprecia foarte mult daca m-ati sustine cu un subscribe si cu un comment cu idei pentru tutoriale scripting.
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.