Jump to content

kevin11

Members
  • Posts

    328
  • Joined

  • Last visited

Everything posted by kevin11

  1. i got a answer ban and restart resource... ( or someone just help you with scripting )
  2. well tell us where u got it so we can test ourselfs
  3. u reinstalled all right? server/client of not try to rename ur server to server1 or something and paste it back after installing so there is a clean server : )
  4. ty i downloaded it and tested and works great for me no problems or anything
  5. has this anything to do with userpanel?? because it works for me -999 isnt working
  6. can anyone tell me whats wrong because i really dont see it
  7. thats not real editing its converting old to new editing is changing the map
  8. well... since you wanna know if it works i gues you didnt test it?
  9. hes not 14 anyway i added wasted (save) and changed login to spawn i get this error server.lua:18: bad argument @ 'getvehiclecolor' function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local c1 = nil local c2 = nil local c1,c2,c3,c4 = getVehicleColor (getPedOccupiedVehicle(source)) setAccountData (playeraccount, "carcolor1", c1) setAccountData (playeraccount, "carcolor2", c2) end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) function onPlayerWasted ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local c1 = nil local c2 = nil local c1,c2,c3,c4 = getVehicleColor (getPedOccupiedVehicle(source)) setAccountData (playeraccount, "carcolor1", c1) setAccountData (playeraccount, "carcolor2", c2) end end addEventHandler ( "onPlayerWasted", getRootElement ( ), onPlayerWasted ) function onPlayerSpawn ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local c1 = nil local c2 = nil local c1 = getAccountData ( playeraccount, "carcolor1" ) local c2 = getAccountData ( playeraccount, "carcolor2" ) if c1 and c2 then veh = getPedOccupiedVehicle(source) if veh then setVehicleColor ( veh, c1, c2, 0, 0 ) end end end end addEventHandler ( "onPlayerSpawn", getRootElement ( ), onPlayerSpawn )
  10. i have a little bug, it detects sobeit but i dont have any it just kicks everyone out of my server (EVERYONE) so i know its not me, maybe you can fix it soon
  11. moveObject ( obj, 14548, 3618.4912109375, -1531.7802734375, 206.9638671875 ) 14548 is the speed ( i think )
  12. this was posted here a while ago i suggest you look back
  13. yes exactly solidsnake14 something like u type /pm then a gui pops up with a grid with all names of people in the server then you click on 1 and another gui opens with a small chat
  14. change local sound = playSound("mysong.mp3",true) to local sound = playSound("mysong.mp3",false)
  15. well, I can nowhere on the forum the possible cause of probeem son can be. YOU? omfg download a new server and get admin resource then replace it
  16. well... tried replacing it with a new one
  17. i noticed some bugs myself so i changed it a little
  18. i just made 3 maps in 10 min
  19. solidsnake14 made this ones function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local r, g, b = getPlayerNametagColor ( source ) setAccountData ( playeraccount, "ColorRed", r ) setAccountData ( playeraccount, "ColorGreen", g ) setAccountData ( playeraccount, "ColorBlue", b ) end end function onPlayerLogin ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local tagColorRed = getAccountData ( playeraccount, "ColorRed" ) local tagColorGreen = getAccountData ( playeraccount, "ColorGreen" ) local tagColorBlue = getAccountData ( playeraccount, "ColorBlue" ) if tagColorRed and tagColorGreen and tagColorBlue then setPlayerNametagColor ( source, tagColorRed, tagColorGreen, tagColorBlue ) end end end function onPlayerSpawn ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local tagColorRed = getAccountData ( playeraccount, "ColorRed" ) local tagColorGreen = getAccountData ( playeraccount, "ColorGreen" ) local tagColorBlue = getAccountData ( playeraccount, "ColorBlue" ) if tagColorRed and tagColorGreen and tagColorBlue then setPlayerNametagColor ( source, tagColorRed, tagColorGreen, tagColorBlue ) end end end function onPlayerWasted ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local r, g, b = getPlayerNametagColor ( source ) setAccountData ( playeraccount, "ColorRed", r ) setAccountData ( playeraccount, "ColorGreen", g ) setAccountData ( playeraccount, "ColorBlue", b ) end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) addEventHandler ( "onPlayerWasted", getRootElement ( ), onPlayerWasted ) addEventHandler ( "onPlayerSpawn", getRootElement ( ), onPlayerSpawn ) AND i was making kinda the same but then saving car colors 1-2 function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local r, g, b = getVehicleColor ( source ) setAccountData ( playeraccount, "vehColorRed", r ) setAccountData ( playeraccount, "vehColorGreen", g ) setAccountData ( playeraccount, "vehColorBlue", b ) end end function onPlayerLogin ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local vehColorRed = getAccountData ( playeraccount, "ColorRed" ) local vehColorGreen = getAccountData ( playeraccount, "ColorGreen" ) local vehColorBlue = getAccountData ( playeraccount, "ColorBlue" ) if vehColorRed and vehColorGreen and vehColorBlue then setVehicleColor ( source, vehColorRed, vehColorGreen, vehColorBlue ) end end end function onPlayerSpawn ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local vehColorRed = getAccountData ( playeraccount, "ColorRed" ) local vehColorGreen = getAccountData ( playeraccount, "ColorGreen" ) local vehColorBlue = getAccountData ( playeraccount, "ColorBlue" ) if vehColorRed and vehColorGreen and vehColorBlue then setVehicleColor ( source, vehColorRed, vehColorGreen, vehColorBlue ) end end end function onPlayerWasted ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local r, g, b = getVehicleColor ( source ) setAccountData ( playeraccount, "vehColorRed", r ) setAccountData ( playeraccount, "vehColorGreen", g ) setAccountData ( playeraccount, "vehColorBlue", b ) end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) addEventHandler ( "onPlayerWasted", getRootElement ( ), onPlayerWasted ) addEventHandler ( "onPlayerSpawn", getRootElement ( ), onPlayerSpawn ) but its not working it gives the error bad eventhandler (no lines or anything) can anyone help, because tag color and veh color may not overwrite each other if soeone dies i get this error warning: 30-38: bad argument @ setvehiclecolor
  20. kevin11

    mta race maps

    hey i made 3 mta race maps 1 trough LS 2 in the docks 3 airport i cant really tell much so just test them http://rapidshare.com/files/401019981/mapsbykevin11.zip.html
  21. ye yours is way better then all others i ever seen
×
×
  • Create New...