Jump to content

[Ska]Vladmo

Members
  • Posts

    66
  • Joined

  • Last visited

Details

  • Gang
    WCFR

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

[Ska]Vladmo's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. Looks great and looks basic.
  2. No, I need this program to decompile files.
  3. *rolls eyes back* You are still not getting it. You try and find a lua download for Windows Xp, I don't see any there. Hey, all of those this just put me back where I was at. Thanks for no help at all.
  4. Re-read my post... and if you are too lazy to read it, it says I can't find it. I tried google many times.
  5. Hey, I thought I could get some help here since there is alot of code to do with Lua! My question is, could some one give me a download link for Lua - Windows Xp I can't seem to find it, if you get it for me it will be very greatful!
  6. Like I saw it looked like this: local showMyIcon = true local chattingPlayers = {} local drawDistance = 100 local transicon = true local chatIconFor = {} local screenSizex, screenSizey = guiGetScreenSize() local guix = screenSizex * 0.1 local guiy = screenSizex * 0.1 local globalscale = 1 local globalalpha = .85 addEvent("updateChatList", true ) function chatCheckPulse() if( isChatBoxInputActive() ) then triggerServerEvent("playerChatting", getLocalPlayer()) else triggerServerEvent("playerNotChatting", getLocalPlayer()) end setTimer( chatCheckPulse, 500, 1) end function showTextIcon() local playerx,playery,playerz = getElementPosition ( getLocalPlayer() ) for player, truth in pairs(chattingPlayers) do if (player == getLocalPlayer()) then if(not showMyIcon) then return end end if(truth) then local chatx, chaty, chatz = getElementPosition( player ) if(isPlayerInVehicle(player)) then chatz = chatz + .5 end local dist = getDistanceBetweenPoints3D ( playerx, playery, playerz, chatx, chaty, chatz ) if dist < drawDistance then if (isPlayerDucked(player)==false) then if( isLineOfSightClear(playerx, playery, playerz, chatx, chaty, chatz, true, false, false, false )) then local screenX, screenY = getScreenFromWorldPosition ( chatx, chaty, chatz+1.2 ) local scaled = screenSizex * (1/(2*(dist+5))) *.85 local relx, rely = scaled * globalscale, scaled * globalscale -- -.0025 * dist+.125 --if(dist < 1) then -- relx, rely = guix, guiy --end guiSetAlpha(chatIconFor[player], globalalpha) guiSetSize(chatIconFor[player], relx, rely, false) guiSetPosition(chatIconFor[player], screenX, screenY, false) if(screenX and screenY) then guiSetVisible(chatIconFor[player], true) end end end end end end end function updateList(newEntry, newStatus) chattingPlayers[newEntry] = newStatus if(not chatIconFor[newEntry]) then chatIconFor[newEntry] = guiCreateStaticImage(0, 0, guix, guiy, "chat___german_public_server_version--do_not_use.png", false ) end guiSetVisible(chatIconFor[newEntry], false) end function toggleIcon() outputChatBox ( "Your icon is: " ) if( showMyIcon ) then showMyIcon = false outputChatBox ( "off", 255, 0, 0) else showMyIcon = true outputChatBox ( "on", 0, 255, 0) end end function resizeIcon( command, newSize ) if(newSize) then local resize = tonumber( newSize ) local percent = resize/100 globalscale = percent end outputChatBox("Chat icons are "..(globalscale * 100).."% normal size") end function setIconAlpha( command, newSize ) if(newSize) then globalalpha = tonumber( newSize ) / 100 end outputChatBox("Chat icons are "..(globalalpha * 100).."% visible") end addEventHandler ( "updateChatList", getRootElement(), updateList ) addEventHandler ( "onClientResourceStart", getRootElement(), chatCheckPulse ) addEventHandler ( "onClientPlayerJoin", getRootElement(), chatCheckPulse ) addEventHandler ( "onClientRender", getRootElement(), showTextIcon ) addCommandHandler( "toggleicon", toggleIcon) addCommandHandler( "resizeicon", resizeIcon) addCommandHandler( "seticonvis", setIconAlpha)
  7. Well on your germen server you have a chat icon thingy.
  8. I bet XetaQuake is the one to talk to....
  9. Ok thanks Vercetti and what do you mean do the same for the open position?
  10. May I ask how this works? Like, where do I put these commands?
  11. I accidently exited the fricken notepad and have to restart all over but also can you make it so you have to pay for gas? And also I don't see the markers but it still refills my gas.............
  12. I'll just find them all, but if you finish before me great, and codemaster, wanna give another good update, theres little buildings by each buildings in SA, that is where you pay for the gas, if you can make it like this: You go up to the station and you pay the money (100$) then it will let you go in the gas markers then you have gas refilled, if you can't do that then just make the markers and when you go in the marker you pay 100$ also just like pay n spray on mabako services make it so if they have 90% or higher gas it wont let them buy the gas.
  13. U wrote a second before me Vladmo Its already fixed it spents 1% per 200m which is quite low enough to travel all around SA, and if you got in mind how much stations XetaQuake found it will be easy to refill I'll just post another load of gas stations, I know where they all are
  14. I am just finding some way to ban vehicles, people are spawning hydras in stuff with the vehicle command.
×
×
  • Create New...