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