[HELP]Script Errors
#1

Quote:

C:\Users\User\Desktop\MS-RP.pwn(719) : error 017: undefined symbol "House"
C:\Users\User\Desktop\MS-RP.pwn(720) : error 017: undefined symbol "House"
C:\Users\User\Desktop\MS-RP.pwn(734) : error 017: undefined symbol "biz"
C:\Users\User\Desktop\MS-RP.pwn(735) : error 017: undefined symbol "biz"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Quote:

stock IsHouseInArea(houseID, Float:max_x, Float:min_x, Float:max_y, Float:min_y)
{
new Float:X, Float:Y;
X = House[houseID][House_x];//719
Y = House[houseID][House_y];//720
if(X <= max_x && X >= min_x && Y <= max_y && Y >= min_y) return 1;
return 0;
}
stock IsBusinessInArea(bizID, Float:max_x, Float:min_x, Float:max_y, Float:min_y)
{
new Float:X, Float:Y;
X = biz[bizID][bizenter_x];//734
Y = biz[bizID][bizenter_y];//735
if(X <= max_x && X >= min_x && Y <= max_y && Y >= min_y) return 1;
return 0;
}

Can somebody help me please?
Reply
#2

put this in top of your gamemode:
new House;
new biz;
Reply
#3

Quote:
Originally Posted by sheNdjze
Посмотреть сообщение
put this in top of your gamemode:
new House;
new biz;
Ty Fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)