10.02.2016, 02:19
Olб amigos, eu peguei este sistema de outra GM, copiei tudo certinho, sу que estб dando alguns erros.
Erros:
error 017: undefined symbol "aTolls"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Cуdigo completo:
Espero que me ajudem, obrigado!
Erros:
error 017: undefined symbol "aTolls"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Cуdigo completo:
Код:
forward TollUpdate(); public TollUpdate() // Needs to be called in the OnPlayerUpdate function { for(new i = 0; i < MAX_TOLLS; i++) { if(aTolls[i][E_tOpenTime] > 0); // linha dos erros // { aTolls[i][E_tOpenTime]--; if(aTolls[i][E_tOpenTime] == 1) { Toll_CloseToll(i); } } } }