[Pomoc]1 error ?

Započeo Impulseâ„¢, Jul 06, 2011, 11:31:17 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Cyber RolePlay
Detaljan opis problema:Ne znam zasto 1 error
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48037) : error 035: argument type mismatch (argument 3)
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48039) : error 017: undefined symbol "HouseEntered"
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48039) : warning 215: expression has no effect
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48039) : error 001: expected token: ";", but found "]"
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48039) : error 029: invalid expression, assumed zero
C:\Users\Gogic\Desktop\Tuborg RolePlay [0.3c]\gamemodes\Tuborg.pwn(48039) : fatal error 107: too many error messages on one line

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


5 Errors.

Dio skripte: 
if(strcmp(cmd, "/exit", true) == 0)
    {
       if(IsPlayerConnected(playerid))
      {
         for(new i = 0; i <  sizeof(HouseInfo); i++)
         {
            if (PlayerToPoint(3, playerid,HouseInfo[hExitx], HouseInfo[hExity], HouseInfo[hExitz]))
            {
                 if(HouseEntered[playerid] == i)
                 {
                  SetPlayerInterior(playerid,0);
                  SetPlayerPos(playerid,HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez]);
                  PlayerInfo[playerid][pInt] = 0;
                  PlayerInfo[playerid][pLocal] = 255;
                  SetCameraBehindPlayer(playerid);
                  SetPlayerVirtualWorld(playerid,0);
                  HouseEntered[playerid] = 255;
                  if(HouseInfo[hHel] == 1)
                  {
                     new Float:tempheal;
                     GetPlayerHealth(playerid,tempheal);
                     if(tempheal < 100.0)
                     {
                        SetPlayerHealth(playerid,100.0);
                     }
                  }
                  return 1;
               }
            }
         }
               }
           }


na vrh

new HouseEntered[MAX_PLAYERS];
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √