castlefamily
Участник
- 104
- 3
[ML] (error) test: cannot resume non-suspended coroutinemoonloader.log.
stack traceback:
[C]: in function 'sampGetPlayerNickname'
G:\GTA San Andreas\moonloader\ac.lua:2410: in function 'sampGetPlayerIdByNickname'
G:\GTA San Andreas\moonloader\ac.lua:2535: in function <G:\GTA San Andreas\moonloader\ac.lua:2414>
[ML] (error) test: Script died due to an error. (0B300EE4)
function sampGetPlayerIdByNickname(nick)
if sampGetPlayerNickname(id_player) == nick then return id_player end -- 2410 строка
for id = 0, 1000 do if sampIsPlayerConnected(id) and nick == sampGetPlayerNickname(id) then return id end end
end