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: unkown
1. nie wyświetlanie nazwy unkown w interiorze.
Cze??.
Mam kod, kt?ry wy?wietla dzielnic?, miasto, lecz je?li jestem w interiorze pisze unkown. Mo?na zrobi?, ?e kiedy jestem w interiorze to nie wy?wietla w og?le si? ten napis?

Kod
[lua]
local screenWidth, screenHeight = guiGetScreenSize ( ) --skalujemy

function createText ( )
local x, y, z = getElementPosition ( localPlayer ) --pobieramy pozycje
local location = getZoneName ( x, y, z ) --pobieramy dzielnice
local city = getZoneName ( x, y, z, true ) --pobieramy miasto

dxDrawText ( city, 403, screenHeight - 103, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.2, czcionka ) --cien
dxDrawText ( city, 400, screenHeight - 100, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1.2, czcionka ) -- tekst

if location ~= city then
dxDrawText ( location, 423, screenHeight - 153, screenWidth, screenHeight, tocolor (0, 0, 0, 255 ), 1.2, czcionka ) --cien
dxDrawText ( location, 420, screenHeight - 150, screenWidth, screenHeight, tocolor (255, 255, 255, 255 ), 1.2, czcionka ) --tekst
end
end


function HandleTheRendering ( )
czcionka = dxCreateFont( "yellowc.ttf", 20 ) --ladujemy czcionki
addEventHandler ( "onClientRender", root, createText )
end
addEventHandler ( "onClientResourceStart", resourceRoot, HandleTheRendering )

showPlayerHudComponent("area_name", false)
showPlayerHudComponent("vehicle_name", false)
showPlayerHudCompo...
2. Polskie Party Serwer - Unkown
Witam
Zainstalowa?em na swoim serwerze mape PP.
Wgra?em wszystkie pliki na serwer. scritpfiles , plugins i nawet include , includes it itp..
Dopisa?em do server.cfg w game mod - pp
no i w modzie w SA:MP zaskoczenie. Pisze Unkown.
Nie wiem co robi?.

Logi

SA-MP Dedicated Server
----------------------
v0.3c R5, (C)2005-2011 SA-MP Team

[20:33:45]
[20:33:45] Server Plugins
[20:33:45] --------------
[20:33:45] Loading plugin: streamer
[20:33:45] Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[20:33:45] Loading plugin: sscanf
[20:33:45] Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[20:33:45] Loaded 0 plugins.

[20:33:45]
[20:33:45] Ban list
[20:33:45] --------
[20:33:45] Loaded: samp.ban
[20:33:45]
[20:33:45]
[20:33:45] Filter Scripts
[20:33:45] ---------------
[20:33:45] Loading filter script 'ZabawyFullDM .amx'...
[20:33:45] Unable to load filter script 'ZabawyFullDM .amx'.
[20:33:45] Loaded 0 filter scripts.

[20:33:45] Script[gamemodes/pp.amx]: Run time error 19: "File or function is not found"
[20:33:45] Number of vehicle models: 0
[20:34:43] --- Server Shutting Down.

----------
Loaded log file: "server_log.txt".


wygl?da na to , ?e pluginy si? nie w??czaj? i gm r?wnie? . prosz? o pomoc. zale?y mi na tej mapie. Pozdrawiam







w serverze linijki potrzebne do uruchomienia mapy , plugin?w poni?ej

gamemode0 pp...