[POMOC]/napustiorg

Započeo Richter
6. Nov. 2010.
756
pregleda
4
postova
Daya
4
Enforcer
6. Nov. 2010.
zz napravio sam komandu /napustiorg i sad mi dodu ovi errori
28102://-------------------------/Napustiorg------------------------------------------
28103: if(strcmp(cmd, "/napustiorg", true) == 0)
28104: {
28105:  PlayerInfo = 0;
28106: PlayerInfo = 0;
28107: PlayerInfo = 0;
28108: SetPlayerSkin(playerid, 10);
28109: SendClientMessage(playerid, COLOR_GREY, "Vise niste u nijednoj organizaciji/bandi !");
28110:    return 1;
28111: }


Quote
C:\Documents and Settings\************\Desktop\************\gamemodes\gf.pwn(28103) : error 010: invalid function or declaration
C:\Documents and Settings\************\Desktop\************\gamemodes\gf.pwn(28110) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.
Daya
4
Enforcer
6. Nov. 2010.
da
GGC
5
Godfather
6. Nov. 2010.
Sigurno nije
ZmaXy
5
Underboss
6. Nov. 2010.
Nije 100% a i da jeste ne svidja mi se komanda.... Stavi nesx ovako:
if(strcmp(cmd, "/napustio", true) == 0)
{
  if(IsPlayerConnected(playerid))
      {
  if(PlayerInfo != 0)
  {
      GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
      SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Izasao si iz organizacije i sad si civil.");
      gTeam = 3;
      PlayerInfo = 0;
      PlayerInfo = 3;
      PlayerInfo = 0;
      PlayerInfo = 0;
      PlayerInfo = 0;
      PlayerInfo = 255;
      SpawnPlayer(playerid);
      new rand = random(sizeof(CIV));
      SetSpawnInfo(playerid, gTeam, CIV,0.0,0.0,0.0,0,0,0,0,0,0,0);
      PlayerInfo = CIV;
      MedicBill = 0;
      return 1;
      }
      else if(PlayerInfo == 0)
      {
          SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ne mozes dati otkaz kad nisi u nikakoj organizaciji.");
          return 1;
          }
      }
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha