Loop & IsPlayerInRange problem
#5

Ok thx for fast answer, but in the stock is a error,

PHP код:
stock IsPlayerNearAnyHouse(playerid)
{
    for(
0sizeof(HausInfo); ++ ) // Here
    
{
        if(
IsPlayerInRangeOfPoint(playerid3.0HausInfo[h][eX], HausInfo[h][eY], HausInfo[h][eZ])) return i;
    }
     return 
0;

PHP код:
C:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : error 017undefined symbol "h"
C:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : warning 205redundant codeconstant expression is zero
C
:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : error 017undefined symbol "h"
C:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : warning 215expression has no effect
C
:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : error 001expected token")"but found ";"
C:\Users\Schnacke\Desktop\LSR SM\gamemodes\LSR-Selfmade.pwn(131) : fatal error 107too many error messages on one line 
but why after the for (not new but directly h ?
Reply


Messages In This Thread
Loop & IsPlayerInRange problem - by Schnacke - 14.07.2010, 23:20
Re: Loop & IsPlayerInRange problem - by Carlton - 14.07.2010, 23:22
AW: Loop & IsPlayerInRange problem - by Schnacke - 14.07.2010, 23:36
Re: Loop & IsPlayerInRange problem - by Carlton - 14.07.2010, 23:39
AW: Loop & IsPlayerInRange problem - by Schnacke - 14.07.2010, 23:50
Re: AW: Loop & IsPlayerInRange problem - by Carlton - 14.07.2010, 23:53
AW: Loop & IsPlayerInRange problem - by Schnacke - 14.07.2010, 23:56
Re: AW: Loop & IsPlayerInRange problem - by Carlton - 14.07.2010, 23:57
AW: Loop & IsPlayerInRange problem - by Schnacke - 15.07.2010, 00:13
AW: Loop & IsPlayerInRange problem - by Schnacke - 15.07.2010, 00:42

Forum Jump:


Users browsing this thread: 1 Guest(s)