Wysłany: 2015-12-23, 16:06
marcin778
Krytyk serwerów MTA
Wiek: 24 Na forum: 4149 dni Posty: 2268
Nick w MP: Marcineg
Piwa : 4662
D?ugo pr?buje to naprawi? ale nic, Wywala db3 Unexpected symbol near '<eof>' b?d? co? podobnego. Podpowiem, ?e jest to linijka 9
local groupName = 'PSP' ;
local vehicles = { [ 433 ] = true , [ 482 ] = true , [ 490 ] = true , [ 487 ] = true , [ 407 ] = true , [ 544 ] = true , [ 546 ] = true , [ 528 ] = true ;
addEventHandler ( "onVehicleStartEnter" , root , function( player , seat , jacked )
if ( vehicles [ source . model ]) and ( not isObjectInACLGroup ( 'user.' .. player . account . name , ACLGroup . get ( groupName ))) then
cancelEvent ()
player : outputChat ( 'Nie jeste? w ' .. groupName );
end
end );
Wysłany: 2015-12-23, 16:09
Tostuch
Wiek: 27 Na forum: 4931 dni Posty: 483
Nick w MP: Tost
Piwa : 137
Wysłany: 2015-12-23, 17:06
marcin778
Krytyk serwerów MTA
Wiek: 24 Na forum: 4149 dni Posty: 2268
Nick w MP: Marcineg
Piwa : 4662
Teraz mamy kolejny problem
[2015-12-23 17:05] SCRIPT ERROR: Napis_Pojazdy/server.lua:9: '}' expected (to close '{' at line 2) near '<eof>'
[2015-12-23 17:05] ERROR: Loading script failed: Napis_Pojazdy/server.lua:9: '}' expected (to close '{' at line 2) near '<eof>'
Wysłany: 2015-12-23, 17:45
serek123
Lua, MySql, Sql
Wiek: 27 Na forum: 4334 dni Posty: 217
Nick w MP: Serek.
Piwa : 374
local groupName = 'PSP' ;
local vehicles = { [ 433 ] = true , [ 482 ] = true , [ 490 ] = true , [ 487 ] = true , [ 407 ] = true , [ 544 ] = true , [ 546 ] = true , [ 528 ] = true )
addEventHandler ( "onVehicleStartEnter" , root , function( player , seat , jacked )
if ( vehicles [ source . model ]) and ( not isObjectInACLGroup ( 'user.' .. player . account . name , ACLGroup . get ( groupName ))) then
cancelEvent ()
player : outputChat ( 'Nie jeste? w ' .. groupName );
end
end )
Napisz czy dzia?a
Wysłany: 2015-12-23, 18:39
marcin778
Krytyk serwerów MTA
Wiek: 24 Na forum: 4149 dni Posty: 2268
Nick w MP: Marcineg
Piwa : 4662
[2015-12-23 18:37] SCRIPT ERROR: Napis_Pojazdy/server.lua:2: '}' expected near ')'
[2015-12-23 18:37] ERROR: Loading script failed: Napis_Pojazdy/server.lua:2: '}' expected near ')'
Wysłany: 2015-12-23, 19:52
serek123
Lua, MySql, Sql
Wiek: 27 Na forum: 4334 dni Posty: 217
Nick w MP: Serek.
Piwa : 374
local groupName = 'PSP' ;
local vehicles = { [ 433 ] = true , [ 482 ] = true , [ 490 ] = true , [ 487 ] = true , [ 407 ] = true , [ 544 ] = true , [ 546 ] = true , [ 528 ] = true }
addEventHandler ( "onVehicleStartEnter" , root , function( player , seat , jacked )
if ( vehicles [ source . model ]) and ( not isObjectInACLGroup ( 'user.' .. player . account . name , ACLGroup . get ( groupName ))) then
cancelEvent ()
player : outputChat ( 'Nie jeste? w ' .. groupName );
end
end )
Teraz powinno lata?
Wysłany: 2015-12-23, 20:23
marcin778
Krytyk serwerów MTA
Wiek: 24 Na forum: 4149 dni Posty: 2268
Nick w MP: Marcineg
Piwa : 4662
Tagi: end :: end :: end....
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: