29.06.2012, 10:18
You can't return constant strings like that, but you can return arrays.
pawn Код:
public GetDoorLock(houseId)
{
if(gHouseVar[houseId][hLocked] == 0)
{
new szStr[] = "Ouverte";
return szStr;
}
new szStr[] = "Fermйe";
return szStr;
}