Problem with cycles in OnGameModeInit()
#3

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
Debug your code like the following
pawn Код:
print("1");
//code here
print("2");
//code here
//etc...
This will show you the exact point where the code is stopping. Post your LoadProperty code too so we can see if that's the issue.
I already do this. After this
PHP код:
for(new b2;b++) {
    
chickfree[b] = CreateDynamicPickup(1318,23,chickinfree[b][0],chickinfree[b][1],chickinfree[b][2]);
    
CreateDynamic3DTextLabel("Название: {ffffff}Пиццерия\n{03c03c}Владелец: {ffffff}Правительство\n{03c03c}Тип: {ffffff}Закусочная",0x03c03cFFchickinfree[b][0],chickinfree[b][1],chickinfree[b][2]+0.904,15.0);
    
CreateDynamicMapIcon(chickinfree[b][0],chickinfree[b][1],chickinfree[b][2],29,COLOR_WHITE);
 }
for(new 
h2;h++) {
   new 
str[128];
   
fermarazd[h] = CreateDynamicPickup(1275,23,ferma[h][0],ferma[h][1],ferma[h][2],-1,-1,-1,100.0);
   
fermainfo[h] = CreateDynamicPickup(1239,23,ferma[h][3],ferma[h][4],ferma[h][5],-1,-1,-1,100.0);
   
CreateDynamicMapIcon(ferma[h][3],ferma[h][4],ferma[h][5],56,COLOR_WHITE);
   
format(str,sizeof(str),"{ffcc00}Ферма ID: {ffffff}%d\n{ffcc00}Стоимость: {ffffff}500000\n{ffcc00}Информация: {ffffff}/finfo",h);
   
CreateDynamic3DTextLabel(str,COLOR_ORANGEferma[h][3],ferma[h][4],ferma[h][5]+1,10.0);
   } 
functions a not work
Reply


Messages In This Thread
Problem with cycles in OnGameModeInit() - by kamilot73 - 12.09.2012, 06:59
Re: Problem with cycles in OnGameModeInit() - by [HiC]TheKiller - 12.09.2012, 07:03
Re: Problem with cycles in OnGameModeInit() - by kamilot73 - 12.09.2012, 07:07
Re: Problem with cycles in OnGameModeInit() - by kamilot73 - 12.09.2012, 07:09
Re : Problem with cycles in OnGameModeInit() - by ricardo178 - 12.09.2012, 07:12
Re: Re : Problem with cycles in OnGameModeInit() - by kamilot73 - 12.09.2012, 07:18
Re: Problem with cycles in OnGameModeInit() - by [HiC]TheKiller - 12.09.2012, 07:21
Re: Problem with cycles in OnGameModeInit() - by kamilot73 - 12.09.2012, 07:23

Forum Jump:


Users browsing this thread: 1 Guest(s)