Jump to content
  • 0

Question

Posted

Salut , am si eu o problema la server , cand dau /locations si dau pe dealership , imi pune checkpoint la alta locatie si tot asa, daca imi poate spune cineva  unde in GM gasesc coordonatele de la dealership ,sunt foarte multe si nu stiu care dintre ele e cea buna ca sa pot sa inlocuiesc coordonatele . Skype cristian.cristi326

7 answers to this question

Recommended Posts

  • 1
Posted

Pai cred ca ar trebui sa inlocuiesti iar coordonatele de la ondialogresponse cu cele bune facute iar de tine, decat sa stai sa le gasesti pe fiecare in parte mai bine le pui iar

Sau te poti folosii de comanda /gotoxyz pentru a afla de la ce sunt coordonatele. Daca nu ai comanda te ajut eu cu ea

  • Upvote 1

giphy.gif

  • 0
Posted

Te contactam cu placere dar nu am acces la niciun pc, acum sunt pe tableta sunt in vacanta dar spune aici si te ajut

giphy.gif

  • 0
Posted (edited)

cum se foloseste comanda /goto xyz ? Adica ce pun inloc de x,y,z , interior , virtual word ?

Edited by cristian9900
  • 0
Posted

Pai uite comanda cu tot cu explicatie

Xyz sunt coordonatele care le ai tu puse acolo iar 3 este interiorul daca coordonatele sunt puse afara interirul este 0

Uite exemplu de folosire

/gotoxyz 0.04858 0.334 8.473 
if(strcmp(cmd, "/gotoxyz", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] > 5)
       {
           return 1;
       }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1,"/gotoxyz [x] [y] [z] [interior]");
return 1;
}
new x = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1,"/gotoxyz [x] [y] [z] [interior]");
return 1;
}
new y = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1,"/gotoxyz [x] [y] [z] [interior]");
return 1;
}
new z = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1,"/gotoxyz [x] [y] [z] [interior]");
return 1;
}
new interior = strval(tmp);
if (PlayerInfo[playerid][pAdmin] >= 3)
{
SetPlayerPos(playerid, x, y, z);
format(string,sizeof(string),"Ai fost teleportat la coordonatele x = %d, y = %d, z = %d, interior %d.",x,y,z,interior);
SendClientMessage(playerid, COLOR_WHITE, string);
SetPlayerVirtualWorld(playerid, 0); 
SetPlayerInterior(playerid,interior); 
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Nu poti folosii aceasta comanda."); 
}
}
return 1;
}
  • Upvote 1

giphy.gif

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.