[pomoc] /exit

Započeo MT3 bolinx, April 12, 2011, 13:47:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Cyber
Detaljan opis problema:ovako imam komandu exit koju sam ubacio u gm! no tada dolaze errori.Kaze da je neki probls sa houseinfo.
Dio skripte:errori
C:\Users\Paul\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(37598) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Paul\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(37598) : warning 215: expression has no effect
C:\Users\Paul\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(37598) : error 001: expected token: ";", but found "]"
C:\Users\Paul\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(37598) : error 029: invalid expression, assumed zero
C:\Users\Paul\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(37598) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


komanda exit
if(strcmp(cmd, "/exit", true) == 0)
   {
       if(IsPlayerConnected(playerid))
      {
          if(HouseEntered[playerid] != 9999)
          {
            new i = HouseEntered[playerid];

            if (IsPlayerInRangeOfPoint(playerid, 3,HouseInfo<i>[hExitx], HouseInfo<i>[hExity], HouseInfo<i>[hExitz]))
            {
               SafeSetPlayerInterior(playerid,0);
               SafeSetPlayerPos(playerid,HouseInfo<i>[hEntrancex],HouseInfo<i>[hEntrancey],HouseInfo<i>[hEntrancez]);
               SetPlayerVirtualWorld(playerid,0);
               PlayerInfo[playerid][pVirWorld] = 0;
               HouseEntered[playerid] = 9999;
               if(HouseInfo<i>[hHel] == 1)
               {
                  new Float:tempheal;
                  GetPlayerHealth(playerid,tempheal);
                  if(tempheal < 100.0)
                  {
                     SetPlayerHealth(playerid,100.0);
                  }
               }
}
}
   return 1;
            }
         }</i></i></i></i></i></i></i>

Neke slike/video za lakse dobivanje pomoci(neobavezno)://

[S.Hvala unapred!  Cool

meni ovo isto nece moze pomoc?
Vise ne skriptam!!!
Ako vam treba pomoc oko PC-a posaljite mi PM...pomoc cu vam ako znam !