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: graczom
1. bazadanych nie nadaje sid graczom a autom id
Witam mam na serwerze paczke StayMTA i jest problem z nadawaniem sidu graczom a autom id pomoże ktoś a i udostempniam bazedanych bazuje na nitroRPG więc daje dwie bazy :)

link do bazy danych:https://mega.nz/folder/FLE20IDA#XTmcaq9nhLhGaZRe5JgKEg
Link do paczki:https://gtao.pl/%3Cfont-colorff00ff%3Egm%3C-font%3E-staymta-vt144702.htm

ten kto pomoże mi dostanie piwo :)
2. Auta graczom wybuchają ( dmvehicles)
Cze??, posiadam skrypt na community-dmvehicle

I auta graczom wybuchaj? jak sie pali, jak to zablokowa??

 function pojazdPusty(veh)
    
local occupants getVehicleOccupants(veh)
    
local seats getVehicleMaxPassengers(veh)
    if (
not seatsthen return true end
    
for i=0,seats do
    
local occupant occupants[seat]
    if 
occupant and (getElementType(occupant)=="player" or getElementType(occupant)=="ped"then
        
return false
    end
    end
    
return true
end


for i,v in ipairs(getElementsByType("vehicle")) do
    if (
pojazdPusty(v)) then
        setVehicleDamageProof
(v,true)
    else
    if 
getElementData(v,"damageproof"then setVehicleDamageProof(vtrue) return end
    setVehicleDamageProof
(v,false)
    
end
end

addEventHandler 
"onVehicleEnter"root, function()
    if 
getElementData(source,"damageproof"then setVehicleDamageProof(sourcetrue) return end
    setVehicleDamageProof
(sourcefalse)
end)

addEventHandler "onVehicleExit"root, function()
    if (
pojazdPusty(source)) then
        setVehicleDamageProof
(sourcetrue)
    else
        if 
getElementData(source,"damageproof"then setVehicleDamageProof(sourcetrue) return end
        setVehicleDamageProof
(sourcefalse)
    
end
end
)
3. Jak podmienić radar (F11) wszystkim graczom na serwerze?
Tak jak w temacie.
4. Aby to Pokazać graczom
[lua]
addEventHandler ("onClientGUIClick", zamknijEgzamin,
function ()
local row, col = guiGridListGetSelectedItem ( pytaniaA )
player = getPlayerName ()
if ( row == -1 ) then return end
local text = guiGridListGetItemText ( pytaniaA, row, col )
if ( text == "1" ) then
outputChatBox("Wsiadz na Motocykl, odpal silnik i swiat?a", player, 255, 0, 0)
elseif ( text == "2" ) then
outputChatBox("Jedz miedzy te 2 pacho?ki i zatrzymaj si? pomi?dzy nimi", 255, 0, 0, false)
elseif ( text == "3" ) then
outputChatBox("Jedz prosto i zaparkuj w tej dziurze", 255, 0, 0, false)
elseif ( text == "4" ) then
outputChatBox("Wyjedz i jedz na rondo kt?re znajduje si? po twojej prawej stronie i zrob 4 okra?enia", 255, 0, 0, false)
elseif text == "5" then
outputChatBox("Wybierz 2 zjazd z ronda i jedz na slalom", 255, 0, 0, false)
elseif text == "6" then
outputChatBox("No to Teraz ?uk", 255, 0, 0, false)
elseif text == "7" then
outputChatBox("Jedz prosto przed te pacho?ki i masz wycofa? w lew? uliczk?", 255, 0, 0, false)
elseif text == "8" then
outputChatBox("Jedz prosto i zjedz do boxu", 255, 0, 0, false)
elseif text == "9" then
outputChatBox("Odstaw motor tak jak go wzia?es, zga...
5. [DM] Animacja nie pokazuje się innym graczom
Witam, mam pewien, zdawa?oby si?, prosty problem.
Tak jak wspomnia?em w temacie, gdy wpisuj? komend? animacja pozornie odbywa si?, lecz ?aden inny gracz jej nie widzi (skin stoi nieruchomo jak gdyby nigdy nic). Pr?bowa?em ju? wszystkiego i szczerze m?wi?c brakuje mi pomys??w... zwracam si? wi?c z pro?b? o pomoc.

Kod:

ApplyAnimation(playerid,"FOOD","EAT_Burger",4.1,0,0,0,0,4500,0);