Command Doesn't Work At All
#10

PHP код:
public OnHousesLoad()
{
    for(new 
icache_get_row_count(); != j; ++i)
    {
        if (
>= sizeof HouseInfo) break;
        
HouseInfo[i][HouseID] = cache_get_field_content_int(i"id");
        
HouseInfo[i][EntranceX] = cache_get_field_content_float(i"EntranceX");
        
HouseInfo[i][EntranceY] = cache_get_field_content_float(i"EntranceY");
        
HouseInfo[i][EntranceZ] = cache_get_field_content_float(i"EntranceZ");
        
HouseInfo[i][ExitX] = cache_get_field_content_float(i"ExitX");
        
HouseInfo[i][ExitY] = cache_get_field_content_float(i"ExitY");
        
HouseInfo[i][ExitZ] = cache_get_field_content_float(i"ExitZ");
        
HouseInfo[i][InsideInt] = cache_get_field_content_int(i"InsideInt");
        
cache_get_field_content(i"owner"HouseInfo[i][owner], 1MAX_PLAYER_NAME);
        
HouseInfo[i][owned] = cache_get_field_content_int(i"owned");
        
HouseInfo[i][HousePrice] = cache_get_field_content_int(i"price");
        
cache_get_field_content(i"text"HouseInfo[i][HouseText], 1200);
        
HouseLabel Create3DTextLabel(HouseInfo[i][HouseText], COLOR_GREENHouseInfo[i][EntranceX], HouseInfo[i][EntranceY], HouseInfo[i][EntranceZ], 3001);
        
HouseLoad cache_get_row_count();
        for(new 
x!= HouseLoad; ++x)
    }
    return 
1;

Код:
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(880) : error 029: invalid expression, assumed zero
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(880 -- 881) : warning 215: expression has no effect
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(881) : error 001: expected token: ";", but found "return"
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(881) : warning 217: loose indentation
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(881) : error 079: inconsistent return types (array & non-array)
D:\samp037_svr_R1_win32\gamemodes\FM.pwn(881) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Command Doesn't Work At All - by nezo2001 - 14.06.2015, 15:55
Re: Command Doesn't Work At All - by Konstantinos - 14.06.2015, 15:58
Re: Command Doesn't Work At All - by nezo2001 - 14.06.2015, 16:00
Re: Command Doesn't Work At All - by Konstantinos - 14.06.2015, 16:07
Re: Command Doesn't Work At All - by nezo2001 - 14.06.2015, 16:09
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 09:47
Re: Command Doesn't Work At All - by Konstantinos - 16.06.2015, 09:53
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 10:02
Re: Command Doesn't Work At All - by Konstantinos - 16.06.2015, 10:19
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 10:35

Forum Jump:


Users browsing this thread: 2 Guest(s)