Jump to content
  • 0

Interior HQ


Allz0r

Question

1 answer to this question

Recommended Posts

Daca vrei sa skimbi HQ

Banuiesc ca ai in GM cam asa :

    if(strcmp(cmdtext, "/enter", true) == 0)

    {

    if(PlayerInfo[playerid][pMember] == id factiuni || PlayerInfo[playerid][pLeader] == id factiuni)

  {

if PlayerToPoint(5,playerid, coordonate)

*then

{

  SetPlayerPos(playerid, coordonate);

  SetPlayerInterior(playerid,12);

  SendClientMessage(playerid,COLOR_GREY,"Welcome to our mansion,enjoy !");

  return 1;

}

}

}

if(strcmp(cmdtext, "/exit", true) == 0)

    {

    if(PlayerInfo[playerid][pMember] == id factiuni || PlayerInfo[playerid][pLeader] == id factiuni)

  {

if PlayerToPoint(5,playerid, coordonate)

*then

{

  SetPlayerPos(playerid, coordonate);

  SetPlayerInterior(playerid,0);

  return 1;

}

}

}

Deci , daca ai asa GM-u dai Find : /enter , cauti randul cu id-ul factiuni  si modifici coordonatele de afara si cele din interior

Daca nu ai asa cum am scris mai sus , cand intri in HQ care il ai acum dai /save , in folderul gta-ului ai documentul ''savedpositions.txt'' ai acolo coordonatele si dai un Find in GM si le modifici cu cele pe care le vrei.

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.