Jump to content
  • 0

Cum Sa Adaug Arme In Server?

Guest Underflash


14 answers to this question

Recommended Posts

  • 0
Guest Underflash

comanda de creere care e?


public OnPlayerPickupPickup(playerid, pickupid)


if (pickupid == mypickup) // Check that the picked up pickup id is the same as the id of the one we created


// It is

SendClientMessage(playerid, COLOR_WHITE, "You received $10000!"); // Message the player

GivePlayerMoney(playerid, 10000); // Give the player the money


else if (pickupid == (some other pickup))


// Another pickup, do something else


return 1;

tree bagata in pawno?

Link to comment
Share on other sites

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

    • By salexm93
      Salut ,pot adauga cod la apelarea functiilor native ? De ex la CreatePickup am nevoie sa salvez date pe care sa le accesez la OnPlayerPickUpPickup(playerid, pickupid)
    • By Tefyuu
      Salut , in gamemode ul burned by waller , cum adaug pet in shop ? am incercat eu ceva dar nu a aparut si am zis sa va intreb
    • By TheGodfather
      Salut, cand incerc sa deschid un server ca sa fac un text td, dupa cateva secunde se opreste. Pe langa asta nu imi apare niciun buton, sa adaug text sau ceva. Am folosit tutorialul lui edison, in logurile serverului nu apar erori.
    • By FlobertRO
      Buna , am si eu o problema . Mi-se restarteaza serverulul random . In server_log am gasit asta : 
      Stie cineva ce pot face  Va rog ❤️ . Multumesc frumos
      [23:17:26] [join] rezana has joined the server (1:---------------------) [23:17:26] [debug] Run time error 4: "Array index out of bounds" [23:17:26] [debug] Accessing element at index 1 past array upper bound 0 [23:17:26] [debug] AMX backtrace: [23:17:26] [debug] #0 00200b24 in ?? (... <1 argument>) at GM.pwn:8108 [23:17:26] [debug] #1 000aef80 in public MP_OPC (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_hooks/impl.inc:633 [23:17:26] [debug] #2 native CallLocalFunction () from samp03svr [23:17:26] [debug] #3 0000c77c in public SSCANF_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\mSelection.inc:432 [23:17:26] [debug] #4 00003210 in public Itter_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\sscanf2.inc:236 [23:17:26] [debug] #5 00001684 in public OnPlayerConnect (playerid=1) at C:\Users\Florin\Dxda\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_iterate.inc:646
    • By .Zedd
      Salut, am luat un server de pe ultra host, am urcat game mode ul corect, un game mode editat de david tuts, pornesc serverul si cand dau login se opreste serverul.. care ar putea fi problema? Multumesc anticipat.
  • 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.