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: przypadek
1. Dziwny przypadek, którego nie rozumem
Witajcie chcia?bym si? zapyta? co tutaj jest ?le zrobi?em sobie w systemie pojazd?w neony
[lua]
if getElementData(veh, 'vehicle:neony') == "Brak" then
elseif getElementData(veh,'vehicle:neony') == 'CzerwoneCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 0, 0}}) -- ca?e czerwone
elseif getElementData(veh,'vehicle:neony') == 'CzerwoneBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={255, 0, 0}}) -- boki czerwone
elseif getElementData(veh,'vehicle:neony') == 'ZieloneCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={0, 255, 0}}) -- zieloe ca?e
elseif getElementData(veh,'vehicle:neony') == 'ZieloneBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={0, 255, 0}}) -- zielone boki
elseif getElementData(veh,'vehicle:neony') == 'RozoweCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 0, 255}}) -- r??owe ca?e
elseif getElementData(veh,'vehicle:neony') == 'RozoweBoki' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=false, rear=false, color={255, 0, 255}}) -- r??owe boki
elseif getElementData(veh,'vehicle:neony') == 'BialeCale' then
setElementData(veh,'vehicle:neony', {left=true, right=true, front=true, rear=true, color={255, 255, 255}}) -- ...
2. Dziwny przypadek
Witam pisz? sobie skrypt na prace dorywcz? autobusy w db3 wywala co? takiego
https://imgur.com/a/eeBK4Xr
linijka 294
addEventHandler("onClientClick"root, function(state2)

linijka 288
addEventHandler("onClientMarkerHit"mbus, function()
3. Dziwny przypadek ze struktu
gdy instaluje strukture wyskakuje taki b?ad: B??d
Zapytanie SQL:

--
-- Zrzut danych tabeli `p_Admin_Log`
--
INSERT INTO `p_Admin_Log` ( `id` , `admin` , `acion` , `user_info` , `ts` , `unix` )
VALUES -- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `p_Arens`
--

CREATE TABLE IF NOT EXISTS `p_Arens` (

`aId` INT( 11 ) NOT NULL ,
`aName` VARCHAR( 100 ) NOT NULL ,
`aBron` INT( 11 ) NOT NULL ,
`aAmmo` INT( 11 ) NOT NULL DEFAULT '5000',
`aPing` INT( 11 ) NOT NULL DEFAULT '0',
`aHealt` FLOAT NOT NULL DEFAULT '100',
`aActive` INT( 2 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM AUTO_INCREMENT =9 DEFAULT CHARSET = latin1;

MySQL zwr?ci? komunikat: Dokumentacja

#1064 - You have an blad(podmiana xd za error) in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS `p_Arens` (
`aId` int(11) NOT NULL,
`aName` var' at line 12
link do struktury: http://speedy.sh/BRKV5/struktura.sql
sam sobie rady niedam