[Pomoc] Oko komande.

Započeo Jozo.
7. Okt. 2014. Zaključano
208
pregleda
8
postova
SA Petricevic
3
Wheel Man
7. Okt. 2014.
Skripta koju koristim: Markos mod o 0
Detaljan opis problema: Ubacio sam komandu xgoto u skriptu,i complaj sam mod i kada odem na server kucam /xgoto ono nece.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Leon27
5
Crime Lord
7. Okt. 2014.
Kada kucas komandu bas nista se nedesava ?
SA Petricevic
3
Wheel Man
7. Okt. 2014.
Nista..
Leon27
5
Crime Lord
7. Okt. 2014.
Daj komandu ovde ili na pm da vidim sta je problem
SA Petricevic
3
Wheel Man
7. Okt. 2014.
CMD:xgoto(playerid, params[])
{
if(PlayerInfo >= 5)
{
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, GROVE, "Koriscenje: \"/xgoto \"");
else
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
    SetPlayerPos(playerid, x, y, z);
}
    format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
    SendClientMessage(playerid, GROVE, string);
}
}
return 1;
}
Leon27
5
Crime Lord
7. Okt. 2014.
Izvoli

CMD:xgoto(playerid, params[])
{
    new Float:x, Float:y, Float:z;
    new string;
    if (sscanf(params, "fff", x, y, z)) return SendClientMessage(playerid, -1, "Koriscenje: \"/xgoto \"");

if(IsPlayerAdmin(playerid))
  {
if(IsPlayerInAnyVehicle(playerid))
      {
      SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);

      }
      else
      {
      SetPlayerPos(playerid, x, y, z);
}
  format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
    SendClientMessage(playerid, -1, string);
  }
  else
{
    SendClientMessage(playerid,-1,"Nisi Admin lvl 5");
   
}
 
    return 1;
}
[HC]Sonatio
5
Kingpin
7. Okt. 2014.
CMD:xgoto(playerid, params[])
{
  if(PlayerInfo < 5) return SendClientMessage(playerid,GROVE," Nisi ovlascen!");
      new Float:x, Float:y, Float:z;
      new string;
      if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, GROVE, "Koriscenje: \"/xgoto \"");
      else
      {
          if(IsPlayerInAnyVehicle(playerid))
          {
              SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
        }
        else
        {
            SetPlayerPos(playerid, x, y, z);
        }
          format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
          SendClientMessage(playerid, GROVE, string);
      }
    return 1;
}
SA Petricevic
3
Wheel Man
8. Okt. 2014.
Hvala,
moze lock.  🙂

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha