Jump to content

Adaugarea pickup pentru Teleport


Mr.Sphirit

Recommended Posts

Buna ziua ,acesta este  primul meu tutorial  .

Deci intrati in pawno va selectati GM-ul si veti face urmatori pasii :

Pasu 1

Cautati in GM unde sunt toate linile cu new si adaugati :

new stuntpark;
Pasu 2 Dati Ctrl+F si cautati OnGameModeInit dupa ce lati gasit adaugati codul de mai jos
stuntpark=CreatePickup(1239, 19, x, y, z);
La x ,y , z adaugati Iconitele si PickUp-ul Exemplu :
stuntpark=CreatePickup(1239, 19, 2710, 2710, 2710);
Veti avea nevoie la CreatePickUp  de aceste link-uri : Pickup-uri si iconite: http://wiki.sa-mp.com/wiki/Object_industrial_Pickups_and_Icons Tip-uri de Pickup : http://forum.sa-mp.com/index.php?topic=139.msg1582#msg1582 Pasul 3 Dati Ctrl + F si cautati : public OnPlayerPickUpPickup(playerid, pickupid) dupa ce lati gasit adaugati ce este mai jos

     if ( pickupid == stuntpark )
     {
          GameTextForPlayer(playerid,"~r~Welcome to This Area", 6000, 1);
          SetPlayerPos(playerid, 1000.0, 1000.0, 10.0);
          SetPlayerInterior(playerid, 0);
     }   

Astept pareri , recunosc inspiratia mea a fost sa-mp.com .

default.png
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Unde pun aia cu new?Ca m-am apucat de un GM nou.. Si sunt incepator :o

eu zic sa nu postezi asemenea intrebari, te faci de ras, uita-te pe WIKI SA-MP (click)

dar il pui sus in script :D

{  
     if ( pickupid == stuntpark )
     {
          GameTextForPlayer(playerid,"~r~Use /stuntpark to go to the stuntpark", 6000, 1);
     }   
     return 1;
}
nu se face asa, ci asa:
if ( pickupid == stuntpark )
{
    GameTextForPlayer(playerid,"~r~Use /stuntpark to go to the stuntpark", 6000, 1);
}   

, { de la inceput si } de la sfarsit nu le-ai pus bine.

PREA SIMPLU

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 2 months later...
  • 4 weeks later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.