Jump to content
  • 0

Dezactivare Pickup



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)
if (pickupid == exemple)
	//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

This topic is now closed to further replies.
  • 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.