#1

C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(2713) : warning 217: loose indentation
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(292 : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26269) : warning 217: loose indentation
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26306) : warning 209: function "OnDialogResponse" should return a value
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26307) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26309) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26311) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26313) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26319) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26325) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26330) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26333) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26335) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26337) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26339) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26345) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26351) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26357) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26363) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26369) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26375) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26381) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26387) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26393) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26399) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26405) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26411) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26417) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\GM.pwn(26423) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Im make dialog login register plizz help
Reply
#2

Post your code so we can fix it.
EDITh its too big,can you just post the lines with the errors?
Reply
#3

http://pastebin.com/rtJgzzz2
Reply
#4

help
Reply
#5

its a missing bracket , i'm sure of that
Reply
#6

Try this, it's not tested, but might work...
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
        {
          new family = PlayerInfo[playerid][pFMember];
          SetPlayerToTeamColor(playerid);
          SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
          SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
          SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
          return 1;
        }
      else
      {
            SetPlayerToTeamColor(playerid);
            if(PlayerInfo[playerid][pOrigin] == 1)//USA
            {
              SetPlayerPos(playerid,-2721.2612,-317.8447,7.8438);
                SetPlayerFacingAngle(playerid, 46.8583);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
into

pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
        {
          new family = PlayerInfo[playerid][pFMember];
          SetPlayerToTeamColor(playerid);
          SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
          SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
          SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
          return 1;
        }
      }
      else
      {
            SetPlayerToTeamColor(playerid);
            if(PlayerInfo[playerid][pOrigin] == 1)//USA
            {
              SetPlayerPos(playerid,-2721.2612,-317.8447,7.8438);
                SetPlayerFacingAngle(playerid, 46.8583);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
And, the Loose Indentation is just a warning. You don't need to deal with it... It's just because you indent them wrongly, but it still can be compiled
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)