Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. oh, thanks for mentioning that, I've edited the script again
  2. try this: function check(oldNick,newNick) if(newNick)then name = newNick else local name = getPlayerName(source) -- get player name end if(string.find(name,"MOJRM-511"))then --check if "MOJRM-511" is in the player name outputChatBox ( "#00ff00 name was checked",source, 255, 0, 0, true ) --tell the player that their name was checked local serial = getPlayerSerial(source) if (serial == '039873CEAE41542F1B058AFCDAC5A943')then --check if their serial is the real MOJRM-511 outputChatBox ( " #00ff00 MOJRM-511 entered the server", getRootElement(), 255, 0, 0, true ) --output to everyone that MOJRM has entered the server else outputChatBox ( name.." is not MOJRM-511", getRootElement(), 255, 0, 0, true ) -- if it's not MOJRM then tell everyone that the player is not MOJRM addBan ( serial, source, "bye bye you not MOJRM-511 ^_^" ) --Ban him by serial end end end addEventHandler("onPlayerJoin", root,check) addEventHandler("onPlayerChangeNick",root,check) I've added comments so you know what's happening step by step
  3. If this isn't your script then we can not help you, if this came from another scripter then ask them if you could modify there resource, maybe they could even help you with it.
  4. if you have a resource, try adding: name="acg" /> or add the map to the resource and add: src="acg.map" /> (In the meta.xml of that resource)
  5. try using "elseif", instead of doing "else if" Example: if money > 100 then --code elseif money < 100 then --code end I'll fix this for you: function checkmoney(thePlayer, command) local money = getPlayerMoney(thePlayer) if (money > 199999) then outputChatBox("#FFFF00Your money stat: #00ff00You are rich ! $" .. tonumber(money), thePlayer,255,255,255,true) elseif(money > 999999) then outputChatBox("#FFFF00Your money stat: #00ff00You are so rich ! $$" .. tonumber(money), thePlayer,255,255,255,true) else outputChatBox("#FFFF00Your money stat: #FF0000You are poor (Be serious in work) ", thePlayer,255,255,255,true) end end addCommandHandler("checkmoney", checkmoney) Plus you forgot to close the last "if" with "end".
  6. Sorry, but we can't make scripts for you, especially if you've seen it from another server.
  7. Jaysds1

    problem

    Can you please download and run this MTADiag then post the PasteBin url here.
  8. He means copy and paste the log here using or at PasteBin.
  9. Jaysds1

    problem

    Ok, when that browse box/window comes up, look for the "GTA SA" folder... if you can't find it, "Start grand theft auto san andreas"...
  10. Jaysds1

    verifyclientsettings

    here: https://wiki.multitheftauto.com/wiki/Ant ... 220%22/%3E There's suppose to be a setting in the mtaserver.conf if there isn't, just add that line
  11. Jaysds1

    Help

    you could use these: getDistanceBetweenPoints2D() --or getDistanceBetweenPoints3D()
  12. (For the chat part) try this: addEventHandler("onPlayerChat",root,function(message, type) if type == 0 then --If it's main chat if(string.find(message,"#%x%x%x%x%x%x"))then cancelEvent() --Message won't send local uncolored = string.gsub(message, "#%x%x%x%x%x%x", "") --Delete all HEX codes. local r, g, b = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) .. ": " .. uncolored,root, r, g, b,false) --Send message manually outputServerLog("CHAT: "..getPlayerName(source)..": "..message) --Output to log manually end end end)
  13. Sometimes it lags, my FPS is 15-20, when I set my res to (800x600) my FPS is 25-40 .
  14. Jaysds1

    parachute

    Parachute can be remodeled and there's no restrictions for it. It's just an object with an alternative animation when triggered. oh, ok, forget my post then
  15. Nice, I never thought this would be created
  16. Jaysds1

    parachute

    I don't think you could change the model of parachute, parachute is like a weapon, but it opens up while your in the air... like IIYAMA said, try it on another model
  17. np, I learned something today
  18. ya, I have the same resolution problem but I still use (800x600), I only use this resolution (1920x1820 ) when I'm making my server.
  19. nice, that looks better than my scripts, this should work
  20. You never created a label, plus you set the timer to work 1 timer, set the 1 to 0
×
×
  • Create New...