Tematy otagowane jako: ładowanie
1. Ładowanie na przycisk
Siemka, mam prace w kt?rej po wjechaniu autem w punkt ?aduje mi si? towar, ale chcia?bym, ?eby to si? robi?o dopiero po wjechaniu w punkt i klikni?ciu klawisza E. Jak to zrobi? w tym kodzie? Za pomoc stawiam
https://pastebin.com/DKe4eAPE
Chodzi o wjechanie w ten punkt: 1068.61450, 2083.54541, 10.79659
2. Podwójne ładowanie
Podczas gdy serwer pobiera zasoby pobiera si? tylko po?owa serwera. Jest pokazane 780mb a pobiera sie 390...
Dodam ?e w konsoli wyskakuje takie co?:
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakcopcarru.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakcopcarru.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakcopcarvg.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakcopcarvg.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakfirela.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakfirela.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakambulan.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakambulan.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakelegant.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakelegant.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-fraknewsvan.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-fraknewsvan.dff]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakmesa.txd]
External HTTP file mismatch (Retrying this file with internal HTTP) [auta-frakmesa.dff]
External HTTP file mismatch (Retrying this file with internal ...
3. ładowanie
Jest mo?liwo?? zmienienia czasu prze?adowania poszczeg?lnej broni? Je?li tak, to jaka funkcja temu s?u?y? Dzi?ki za odpowied?.
4. Ładowanie modelu
DB3: https://imgur.com/a/JCiAY3w
txd = engineLoadTXD ( "droga1.txd" )
engineImportTXD ( txd , 4152 )
dff = engineLoadDFF ( "droga1.dff" , 0 )
engineReplaceModel ( dff , 4152 )
5. Ładowanie zasobów.
Witam. Mam pytanie dotycz?ce progressbara w czasie pobierania zasob?w. Czy da si? go jako? usun??? Funkcja jaka?, czy cu?.
A dok?adnie chodzi o to:
6. Ładowanie silnika
Witam mam taki problem ?e modelom pojazd?w kt?re powinno przypisa? silnik wgl tego nie robi czyli ka?dy samoch?d ma silnik 0 a stock powinno ustawiac:
Pawn
stock SetVehicleSilnikBGD() //***
{
for(new v ; v < MAX_VEHICLES ; v ++)
{
switch( GetVehicleModel ( v ))
{
case 400 , 599 : Silnikveh [ v ] = 1 ; //ustawia tym modelom diesel
case 461 , 451 , 455 : Silnikveh [ v ] = 2 ; //ustawia tym modelom benzyne
}
}
}
ongamemodeinit:
SetVehicleSilnikBGD();//***
Pawn
public OnVehicleStreamIn ( vehicleid , forplayerid )
{
SetVehicleSilnikBGD (); //***
return 1 ;
}
w czym mo?e tkwi? problem??
7. Ładowanie zasobów
Cze??! Dzisiaj przychodz? do was z pytaniem czy jest mo?liwo?? aby na przyk?ad pliki podmianki elegy (elegy.dff i elegy.txd) pobiera?y si? w momencie kiedy gracz wpisz? jak?? komend?, a nie po odpaleniu zasobu? Z g?ry dzi?kuje za pomoc
8. Ładowanie zasobów
Pomo?ecie zrobi?, ?eby podczas zalogowania znika?y te napisy i ?eby podczas ?adowania by? black screen ?
[lua]--[[
@author Lukasz Biegaj <[email protected] >
@copyright 2011-2013 Lukasz Biegaj <[email protected] >
@license Dual GPLv2/MIT
]]--
local T_OPIS="Trwa pobieranie zasobow serwera"
local T_STOPKA="Loose Gaming - Innowacyjny serwer RPG"
intro_watchers={}
addEventHandler ( "onPlayerJoin", getRootElement(), function()
showPlayerHudComponent(source, "all", false)
showChat(source, false)
intro_watchers[source]={}
intro_watchers[source].introTextDisplay = textCreateDisplay()
intro_watchers[source].serverText={}
intro_watchers[source].serverText[1] = textCreateTextItem ( "Loose Gaming", 0.5, 0.1, 2, 255,255,255, 255, 3.0, "center", "center",127 ) -- create a text item for the display
textDisplayAddText ( intro_watchers[source].introTextDisplay, intro_watchers[source].serverText[1] )
intro_watchers[source].serverText[2] = textCreateTextItem ( T_OPIS, 0.5, 0.5, 2, 255,255,255, 255, 1.2, "center", "center",127 ) -- create a text item for the display
textDisplayAddText ( intro_watchers[source].introTextDisplay, intro_watchers[source].serverText[2] )
intro_watchers[source].serverText[3] = textCreateTextItem ( T_STOPKA, 0.5, 0.89, 2, 55,55,255, 255, 1.2, "center", "bottom",127 )
textDisplayAddText ( in...
9. [INNE] Ładowanie obiektów
Witam co zrobi? ?eby obiekty si? ?adowa?y nie odrazu jak sie ko?o nich przejedzie tylko ile? tam metrow przed zeby gracz nie widzial ze one sie ?adowa?y. //Sory za logike ale jestem po sylwestrze i jeszcze mnie trzyma.
10. [DM i GF] ładowanie obiektów [Jak Zrobić]
Jak zrobi? aby po teleportacji nr. /pustynia na ekranie pojawia? si? napis l?dowanie obiekt?w i zamra?a?o gracza tak na 5 sek aby obiekty si? za?adowa?y znalaz?em w necie taki kod ale on nie dzia?a prosz? o pomoc i ?aeby to dzia?a?o pod ka?da komenda a nie tylko pod jedna
Kod:
Pawn #include <a_samp>
#include <zcmd>
CMD : lv ( playerid , params [])
{
GameTextForPlayer ( playerid , "~w~TRWA LADOWANIE OBIEKTOW!" , 4000 , 4 );
TogglePlayerControllable ( playerid , false );
SetTimerEx ( "Stop" , 5000 , false , "i" , playerid );
return 1 ;
}
forward Stop ( playerid );
public Stop ( playerid )
{
return TogglePlayerControllable ( playerid , true );
}
11. [INNE] Ładowanie obiektów
Jak zrobi? aby po teleportacji nr. /pustynia na ekranie pojawia? si? napis l?dowanie obiekt?w i zamra?a?o gracza tak na 5 sek aby obiekty si? za?adowa?y znalaz?em w necie taki kod ale on nie dzia?a prosz? o pomoc i ?aeby to dzia?a?o pod ka?da komenda a nie tylko pod jedna
Kod: #include <a_samp>
#include <zcmd>
CMD:lv(playerid, params[])
{
GameTextForPlayer(playerid,"~w~TRWA LADOWANIE OBIEKTOW!", 4000, 4);
TogglePlayerControllable(playerid, false);
SetTimerEx("Stop", 5000, false, "i", playerid);
return 1;
}
forward Stop(playerid);
public Stop(playerid)
{
return TogglePlayerControllable(playerid, true);
}
dzi?ki za pomoc