29.06.2012, 10:42
Yeah sorry i completely forgot about that, make it a stock.
If you use it, it doesn't have to be a stock function.
If you make a function stock, you are just telling the compiler that, if it is not used; leave it out of compilation.
If you use it, it doesn't have to be a stock function.
pawn Код:
GetDoorLock(houseId)
{
if(gHouseVar[houseId][hLocked] == 0)
{
new szStr[] = "Ouverte";
return szStr;
}
new szStr[] = "Fermйe";
return szStr;
}