Jump to content

qaisjp

Retired Staff
  • Posts

    2,344
  • Joined

  • Days Won

    10

Everything posted by qaisjp

  1. and he calls himself an mta developer. if anyone should make an mta logo it should be aibo. btw thats tommy vercetti right?
  2. try this: -- ************************************************* -- * AFS Centre * -- * Written by [AFS]Qais (c) 2011 * -- * Script stealers will suffer eternal damnation * -- ************************************************* ---------------------------- ---Set your options below--- ---------------------------- local font = "bankgothic" --font to show local text=' awesome text' local fontSize = 2 --size to show local maxViewRange = 10 --Max view range for the display local pointX,pointY,pointZ = 1726.1750488281, -1638.0367431641, 21 --------------------------- --------------------------- local screenWidth, screenHeight = guiGetScreenSize() --This handles the FREEROAM VIEWER addEventHandler("onClientRender", getRootElement(), function() local sx,sy = getScreenFromWorldPosition (pointX,pointY,pointZ) local camX,camY,camZ = getCameraMatrix() if sx then if getDistanceBetweenPoints3D(camX,camY,camZ,pointX,pointY,pointZ) <= maxViewRange then dxDrawRectangle ( sx - 100, sy + 14.5, screenWidth/7.5 + 200, screenHeight/30 + 20 ,tocolor ( 0, 0, 0, 200 ) ) dxDrawText(text, sx - 100, sy, screenWidth, screenHeight,tocolor ( 0, 110, 255, 255 ), fontSize ,font) end end end ) something i made in 2011, you can distribute as you wish clean some components yourself.
  3. yes, sorry, do this; local unacceptedNames = { ['bill']=false, [ 'sex']=true, ['orange']=true, ['kiwi']=true, ['dora_the_explorer']=true, [ '41snakesolid']=true, [ 'lelee']=true } addEventHandler( 'onPlayerJoin', root, function() if unacceptedNames[ string.lower( getPlayerName(source) ) ] then kickPlayer(source) end end)
  4. No offense, but commands are a pain in the ass. +1 It's SAMP all over again.
  5. No it isn't possible, Feche. You could try comparing positions and all that mathematical things..
  6. local unacceptedNames = { ['Bill']=false, [ 'Sex']=true, ['Orange']=true, ['Kiwi']=true, ['Dora_the_explorer']=true, [ '41snakesolid']=true, [ 'lelee']=true addEventHandler( 'onPlayerJoin', root, function() if unacceptedNames[ string.lower( getPlayerName(source) ) ] then kickPlayer(source) end end) This gets the players name when he joins, puts it in lowercase, checks the array/table to see if it has an index with the name AND a value other than false. So if my name is Dora_the_explorer then I will be kicked. If my name is Bill, then i won't be kicked ( i dont see why i should put bill, but just to make you understand the table concept too )
  7. you can, you can edit the garages.xml (or some other xml file) and COPY ONE LINE and PASTE IT AGAIN, and edit the coordinates of the pasted line
  8. lol so /kick - toadys /mute - toadys /ban - toadys /ipban - toadys /serialban - toadys /slap - toadys what else do you fuucking need /name player newname
  9. qaisjp

    help?

    Calm down, child, stop ranting the forums and flaming at people who have much more experience, you are just a mere noob so back off the people who know things.
  10. local jobMarker = createMarker(1808.1796875, -1916.625, 12.56644821167, "cylinder", 2, 0, 255, 255, 100 ) function jobMarkerHit(p,d) if getElementType(p) == "player" and not isPedInVehicle(p) and d then local v = createVehicle(431, 1798.38171, -1929.55750, 13.38790) spawnPlayer(p, 1798, -1929, 13) if vehicle1 then setTimer(warpPedIntoVehicle, 50, 1, p, v) setPlayerTeam ( p, Bus) end end end addCommandHandler("acceptjob", jobMarkerHit) this WILL work. or tommy vercetti will die
  11. iirc castillo and Will don't use indentation.. i dont put indentation my meta.xml (for resource with just a few files, lots of files = identation) but i cant script without identitation... anyone who uses notepad to script NEEDS TO DIE. Remi-X, indentation, not indentitation
  12. We all need to learn new things TopAz, Pawn is a pile of wank, use Lua. Lua takes less than a minute to understand. Give Lua a chance.
  13. no problem at all. the only BAD THING IS, IF ONE PERSON GETS BANNED [iP BAN] THEN EVERYONE GETS KICKED.
  14. *4 -- Alpha, sorry, my mistake. I will update that immediately.
  15. No problem, if you are using seperate pc's. The only problem is if you are IP banned, both pc's would be banned.
  16. It seems you are a new user, and have come from that other mod, well congratulations for joining this modification and welcome. Lua is much faster and doesn't require compiling, if you use the amx resource you are building a wall between the awesomeness and your server. I recommend you to learn Lua, you can ask questions here any time you feel like and take a look at the tutorials too.
  17. Appended the above requested to the end of the main post and added a few more links to the aforementioned location. english ftw.
  18. Oh, my bad, you meant serial KEYS. I use a pirated gtasa too. In this forum, when you talk about serials, we mean the computer serial, in which Multi Theft Auto identifies the computer the server was accessed from. Nobody has managed to change their serial AND get known in the recent releases of MTA:SA, that is why in order I reacted in you telling him to ban evade (change computer serial, you dont get banned on the same server) by changing your serial.
  19. Learn to use the wiki. I will not teach you how to test or use the command. You have to read the code and try to make sense of it... ~@#
  20. Because mta must be for everyone. More players = more fun. Forums are for helping players, not for insult them. unless it involves creating a new serial for your computer. in that case an admin should ban you.
  21. bumpedy bumpedy bumpedy bump. someone please move to tuts section
  22. qaisjp

    Locked time

    its funny how someone who is a complete n00b has a signature proving another person to be a noob. What you just gave him was a waste of processing AND a waste of perfectly good utility code. Edit: Or: setMinuteDuration(133333333333333333333337)
  23. Orange (mtasa.pl known cheater lil_toadys enemy) is Orange Orangejp is me lol
  24. fine, it is kicking you out because your pc has the same serial. this shouldn't be the case, but it is. IIYAMA don't be a known cheater and tell people to evade bans.
×
×
  • Create New...