Jump to content
  • 0

Cum pun comenzi?


Guest ChiNeZu

Question

Guest ChiNeZu

Ma puteti ajuta si pe mine cu cateva lucruri credk simple pentru voi :D

1. Sa pun la LSPD bariera si poarta la parcarea aceea subterana si in sf :D

si sa se deschida prin comenzile

/openlsgate

/opensfgate

si /openbarrier

Nu dau prea multe explicatii ca sigur stiti ! despre ce vb :D

Ms :X :D ::)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

asta la inceputul scriptului

new Gate;
Si asta mai jos,
public OnPlayerCommandText(playerid, cmdtext[])
{
//The Command you need to type to close te gate
if(strcmp(cmdtext, "/closelsgate", true) == 0)
{
    //It will move the object to this coordinates after the command.
MoveObject(Gate, x, y, z, viteza); //Close- Coordonatele portii inchise
return 1;
}
if(strcmp(cmdtext, "/openlsgate", true) == 0)
{
MoveObject(Gate, x, y, z, viteza); //Open- Coordonatele portii deschise
return 1;
}
return 0;
}

x, y, z sunt coordonatele

Ca sa intelegi mai bine intra aici

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

  • 0
Guest David Paul

Hmm daca nu ma insel tu ai vazut pe B-Zone Portile alea...

Adica [FS]Basic facut de RazR

Poti sa il descarci de pe aici..Din modul postat de RazR Romania RPG :)

Link to comment
Share on other sites

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

    • By ItzGabi2k
      Nu imi merg comenzile:
      /shopinfo, /normalshop, /vipcars, extrapackshop
      YCMD:shopinfo(playerid, params[], help) { ShopType[ playerid ] = 0; ShowShop( playerid ); return true; }
      YCMD:normalshop(playerid, params[], help) { ShopType[ playerid ] = 1; ShowShop( playerid ); return true; }
      YCMD:vipcars(playerid, params[], help) { ShopType[ playerid ] = 2; ShowShop( playerid ); return true; }
      YCMD:extrapackshop(playerid, params[], help) { ShopType[ playerid ] = 3; ShowShop( playerid ); return true; }
      YCMD:shop(playerid, params[], help) {
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Comanda de /shop a fost schimbata:");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Shop Info:     /shopinfo");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Normal Shop: /normalshop");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}V.I.P Cars:  /vipcars");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Extra Packs: /extrapackshop");
          return true;
      }
    • By Cosminus
      https://imgur.com/a/kD89e3e 
      Cum pot face si eu asa cum e in poza? Gen 'Manager' 'Scripter', tutorial explicat daca se poate, multumesc.
    • By TheSlim2
      Cum as putea pune o locatie pe gps /gps?Va rog ajutatima
    • By Adel
      Am incercat să il pun si tot dă eroare.
    • By Hook SAMP
      Nu imi da nicio eroare cand compilez gamemode-ul , dar cand intru pe server si dau /shop si apas pe ceva , nu apare nimic , dispare dialogul , si la realizari cand dau /realizari nu apare nimic. Gamemode B-Hood
  • 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.