Wysłany: 2017-11-06, 20:36
NoKill1997
Online
Wiek: 28 Na forum: 3224 dni Posty: 183
Nick w MP: Mefedroniarz.PDW
Piwa : 778
Witam mam problem z outputChatBox'em w pewnej pracy. Jak zaczne prace to po prostu outputChatBox nie dziala... daje wam kawalek kodu moze cos wam uda sie wywnioskowac, dla czego nie ma tego outputChatBoxa.
Kod:
function nielegalna ( theplayer )
if getElementData ( theplayer , "oddalall" ) == true then
local pojazd = createVehicle ( 482 , - 1723.16 ,- 85.07 , 3.68 , 359.2 , 0.2 , 132.6 )
warpPedIntoVehicle ( theplayer , pojazd )
setVehiclePlateText ( pojazd , "DOSTAWCA" )
setVehicleColor ( pojazd , 0 , 0 , 0 )
setElementData ( pojazd , "vehicle:desc" , "Praca NIE LEGALNA" )
addVehicleUpgrade ( pojazd , 1025 )
setElementData ( theplayer , "oddalall" , false )
setElementData ( theplayer , "dojazdnielegalna" , true )
outputChatBox ( "* Wybra?es prace nie legaln?! Udaj sie do pistoletu na mapie!" , theplayer , 255 , 255 , 255 )
end
Podpis
Aktualny projekt: LSgame
Na scenie MTA od: 2015 roku.
Discord: Chwilowoo, brak
Wysłany: 2017-11-06, 20:40
Eitho
Wiek: 24 Na forum: 3489 dni Posty: 330
Nick w MP: Eitho
Piwa : 746
Pewnie dla tego, ?e nie zako?czy?es ifa
Spr?buj tak:
function nielegalna ( theplayer )
if getElementData ( theplayer , "oddalall" ) == true then
local pojazd = createVehicle ( 482 , - 1723.16 ,- 85.07 , 3.68 , 359.2 , 0.2 , 132.6 )
warpPedIntoVehicle ( theplayer , pojazd )
setVehiclePlateText ( pojazd , "DOSTAWCA" )
setVehicleColor ( pojazd , 0 , 0 , 0 )
setElementData ( pojazd , "vehicle:desc" , "Praca NIE LEGALNA" )
addVehicleUpgrade ( pojazd , 1025 )
setElementData ( theplayer , "oddalall" , false )
setElementData ( theplayer , "dojazdnielegalna" , true )
outputChatBox ( "* Wybra?es prace nie legaln?! Udaj sie do pistoletu na mapie!" , theplayer , 255 , 255 , 255 )
end
end Lub tak:
function nielegalna ( theplayer )
if getElementData ( theplayer , "oddalall" ) ~= true then return end
local pojazd = createVehicle ( 482 , - 1723.16 ,- 85.07 , 3.68 , 359.2 , 0.2 , 132.6 )
warpPedIntoVehicle ( theplayer , pojazd )
setVehiclePlateText ( pojazd , "DOSTAWCA" )
setVehicleColor ( pojazd , 0 , 0 , 0 )
setElementData ( pojazd , "vehicle:desc" , "Praca NIE LEGALNA" )
addVehicleUpgrade ( pojazd , 1025 )
setElementData ( theplayer , "oddalall" , false )
setElementData ( theplayer , "dojazdnielegalna" , true )
outputChatBox ( "* Wybra?es prace nie legaln?! Udaj sie do pistoletu na mapie!" , theplayer , 255 , 255 , 255 )
end
Wysłany: 2017-11-06, 20:53
Janusz_GRA
NO NAME
Wiek: 26 Na forum: 3716 dni Posty: 223
Nick w MP: michalMonster
Piwa : 175
Jakie? b??dy db3?
Podpis
Jeśli nie możesz czegoś zrobić dobrze, przynajmniej spraw, żeby wyglądało dobrze.
Wysłany: 2017-11-06, 21:39
NoKill1997
Online
Wiek: 28 Na forum: 3224 dni Posty: 183
Nick w MP: Mefedroniarz.PDW
Piwa : 778
"Janusz_GRA" napisał/a : nie ma
Podpis
Aktualny projekt: LSgame
Na scenie MTA od: 2015 roku.
Discord: Chwilowoo, brak
Wysłany: 2017-11-07, 16:05
_Haze
Peace Yo!
Wiek: 24 Na forum: 4184 dni Posty: 1648
Nick w MP: Haze
Piwa : 2628
NoKill1997 , masz stawione kodowanie UTF-8 bez BOOM?
Wysłany: 2017-11-07, 20:15
NoKill1997
Online
Wiek: 28 Na forum: 3224 dni Posty: 183
Nick w MP: Mefedroniarz.PDW
Piwa : 778
Do zamkni?cia ju? poprawi?em
Podpis
Aktualny projekt: LSgame
Na scenie MTA od: 2015 roku.
Discord: Chwilowoo, brak
Tagi: nie :: dziala :: outputchatbox
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: