Witam moim problemem jest skrypt zapisu/parkowania samochodu. Gdy pisz? komend? /zaparkuj w aucie frakcyjnym b?d? aucie nieposiadaj?cym rejestracji wszystko jest w porz?dku, lecz gdy pisze t? sam? komend? w aucie kt?re posiada ju? prawo jazdy to nie dzieje si? nic. Prosz? o pomoc nie mam poj?cia co jest ?le.
[code]
output = false
function getPlayerAccountID(login)
account = getAccount(tostring(login))
if account then
data = getAccountData(account,"ID-Player")
if data then
return data
else
return false
end
else
return false
end
end
function zapiszlog(string)
local file = fileOpen("logs.txt")
if not file then
file = fileCreate("logs.txt")
end
if (file) then
local time = getRealTime()
fileSetPos(file,fileGetSize(file))
local written = fileWrite(file,"rn",string.format("-- %02s/%02s/%04s %02s:%02sr : ",
tostring(time.monthday),
tostring(time.month + 1),
tostring(time.year + 1900),
tostring(time.hour),
tostring(time.minute)),
string,"rn")
fileFlush(file)
fileClose(file)
end
end
local panelvip = exports.panelvip
aaa =mysql_connect(get("mysql.host"), get("mysql.user"), get("mysql.pass"), get("mysql.db"), 3306)
if ( not aaa ) then
outputDebugString("Blad polaczenia!-Vehsaver")
end
function makeCaptcha(capNumz)
theC = ""
tCode = { "a",... |