Jump to content
  • 0

O problema poate mare.


Kristu23

Question

Salut am o mapa cu inchisoare,am un loc unde este tonomat cu Sprunk,am vrut ca atunci cand mergi langa Sprunk sa apara un "J" care sa iti zica sa dai /sprunk un fel de Pickup Guide.

Am vazut un tutorial pe Wiki SAMP

Bun...Am numit la inceput

189(189 fiind randul)  new pik;
in loc de mypickyp Apoi In OnGameModeInit
15172    pik = CreatePickup(1240, 2, -3566.9355,1744.6390,41.0629, -1);

Cu tot ce trebuie inclusiv coordonatele corecte.

Apoi

OnPlayerPickUpPickup

16394    if(pickupid == pik) { // Check that the pickup ID of the pickup they picked up is mypickup

16395

16396  GameTextForPlayer(playerid, "~>~~w~/sprunk~<~", 3000, 3);

16397 }

In loc de 16394    if(pickupid == pik) am pus si 1240 adica ID Pickuplui...dar tot asa.

Rezultat.

(5197)warning 217: loose indentation

(16394) : error 010: invalid function or declaration

(16396) : error 021: symbol already defined: "GameTextForPlayer"

(15173): warning 204: symbol is assigned a value that is never used: "pik"

Ajutati-ma va rog.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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