01.10.2010, 18:27
Returning a value stops the whole callback. Example:
pawn Код:
OnPlayerEnterInterior([...])
{
if(Bleh==32)return 1;
print("Won't printed if Bleh=32.");
return 1;
}
pawn Код:
OnPlayerEnterInterior([...])
{
if(Bleh==32)return 1;
else return 0;
print("Won't printed (never).");
return 1;
}