21.01.2015, 00:24
Quote:
Код:
forward TogglePlayerControllableEx(playerid,controllable); public TogglePlayerControllableEx(playerid,controllable) { TogglePlayerControllable(playerid,controllable); if (controllable == 0) return PlayerTemp[playerid][afrozen] = 1; else (controllable == 1) return PlayerTemp[playerid][afrozen] = 0; return 1; } |
I think theirs no need to use else if, but if its not working with else then just write the if by yourself
If it keeps giving you the warnings, then could you send us the line where you define that var? (or the whole enum)