Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: prublem
1. Prublem z skryptem marker
Witam wie kto? czemu nie chce mi sie pojawi? marker mo?e co? ?le napisa?em prosi?bym bym o pomoc dopiero si? ucze

 function auto thePlayer )
    
local autko createVehicle 5682496.447265625, -1669.52929687513.335947036743 )
    
outputChatBox "Dosta?e? auto" )
    
warpPedIntoVehicle thePlayerautko )
    
local markerauta createMarker 2456.146484375,-1673.6396484375,13.500040054321"cylidner"2255255255170 )

end

addEventHandler 
"onMarkerHit"markerautaauto
2. MTA prublem z baza danych
Ot?z tak pobra?em paczke Your Better H z tego forum w??czy?em skrypty i mapy lecz pozosta?a kwestia bazy danych mysql uzupe?ni?em wszystkie informacje u?ytkownik has?o itp a w konsoli pisze takie co?

[2017-04-02 09:54] WARNING: [skrypty_glowne]/ogrpg-db/s_db.lua:33: Bad usage @ 'dbConnect' [Unknown MySQL server host 'https://liveserver.pl/phpmyadmin/?server=8' (1)]
[2017-04-02 09:54] INFO: * No Connecting to server MYSQL..
[2017-04-02 09:54] ERROR: [skrypty_glowne]/ogrpg-db/s_db.lua:54: attempt to call global 'mysql_connect' (a nil value)



[lua]
--[[
Resource: OURGame v2
Developers: Split <[email protected]>
You have no right to use this code without my permission.
(c) 2015 <[email protected]>. All rights reserved.
]]

-- Settings
DBHandler=nil
DBName="db_4005"
DBUser="======="
DBPass="========="
DBHost="https://liveserver.pl/phpmyadmin/?server=8"

-- Functions
function dbSet(...)
if not {...} then return end
local stringe=dbPrepareString(DBHandler,...)
local query=dbExec(DBHandler, stringe)
return query
end

function dbGet(...)
if not {...} then return end
local stringe=dbPrepareString(DBHandler,...)
local query=dbQuery(DBHandler, stringe)
local result=dbPoll(query, -1)
return result
end


addEventHandler("onResourceStart", resourceRoot, function()
DBHandler=dbConnect("mysql", "dbname="..DBName..";host="..DB...