25.12.2012, 17:24
Hello,
I'm creating my own house system. I got over the y_ini tutorial but I got quite confused. I took out part of the code and I tried it out but I can't find out why it gives me the errors it does.
I'm creating my own house system. I got over the y_ini tutorial but I got quite confused. I took out part of the code and I tried it out but I can't find out why it gives me the errors it does.
Код:
CMD:enter(playerid,params[]) 441{ 442 for(new i=0;i<MAX_HOUSES;i++) 443 { 444 if(fexist(HousePath(i))) 445 { 446 new INI:File=INI_Open(HousePath(i)); 447 new Float:x,Float:y,Float:z; 448 INI_Float("Enterx",x); 449 INI_Float("Entery",y); 450 INI_Float("Enterz",z); 451 if(IsPlayerInRangeOfPoint(playerid,5,x,y,z)) 452 { 453 SendClientMessage(playerid,COLOR_GREEN,"You are in range."); 454 } 455 } 456 } 457 INI_Close(File); 458 return 1; 459}
Код:
(449) : error 017: undefined symbol "name" (449) : error 017: undefined symbol "value" (450) : error 017: undefined symbol "name" (450) : error 017: undefined symbol "value" (451) : error 017: undefined symbol "name" (451) : error 017: undefined symbol "value" (447) : warning 204: symbol is assigned a value that is never used: "File" (458) : error 017: undefined symbol "File"