Jump to content

m4rsje

Members
  • Posts

    114
  • Joined

  • Last visited

Everything posted by m4rsje

  1. it doesn't give me any errors
  2. any1?-.-" im like out of idea's right now.
  3. yeah but you do need to make an option too, when your health is 100% he will still lose his cash right? you should make an another option like: a = getElementHealth (source) if a == <100 then or something like that still nice done
  4. its still not solved. you can still drive away without having the team script: local root = getRootElement() addEventHandler("onVehicleEnter", root, function(player) local vehicle = source local id = getElementModel(vehicle) if id == 416 then local team = getPlayerTeam(player) if team then local teamName = getTeamName(team) if (teamName) == "Medic" then outputChatBox("((* Don't abuse your lights! *))", player) else removePedFromVehicle(player) outputChatBox("((* You are not allowed to get in here! *))", player) end end elseif id == 420 then local team = getPlayerTeam(player) if team then local teamName = getTeamName(team) if (teamName) == "Taxi" then outputChatBox("((pickup people and bring them to their chosen place))", player) else removePedFromVehicle(player) outputChatBox("((*You are not allowed to get in here*))", player) end end end end ) thx <3
  5. wich one? you edited it? bec the one from the community isn't working
  6. yeah i got it from the community but, i tryed a few times my self but failed it and got desprate so ill try the element
  7. hey guys, im trying to make a skin save system (SSS), but its not really working, i quited mta for like 5-6 months or something like that? and i almost cant remember anything of the scripting so could any1 please fix this, it gives you skin 0, and imposible to change it with admin panel : function onPlayerWasted ( ) local account = getPlayerAccount ( source ) if ( account ) then local playerskin = getPedSkin ( source ) setAccountData ( account, "skin", playerskin ) spawnPlayer(source, 1607, 1817, 11) setPedSkin ( source, playerskin ) end end addEventHandler ( "onPlayerWasted", getRootElement ( ), onPlayerWasted ) function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playerskin = getPedSkin ( source ) setAccountData ( playeraccount, "skin", playerskin ) end end function onPlayerJoin ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playerskin = getAccountData ( playeraccount, "skin" ) if ( playerskin ) then setPedSkin ( source, playerskin ) end end end function onPlayerSpawn ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playerskin = getAccountData ( playeraccount, "skin" ) if ( playerskin ) then setPedSkin ( source, playerskin ) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerJoin", getRootElement ( ), onPlayerJoin ) addEventHandler ( "onPlayerSpawn", getRootElement ( ), onPlayerSpawn ) thx <3
  8. m4rsje

    chat distance

    yeah that is true. but i'm learning alot from making a rp. and i toke broph as base. from broph i was scripting further and further. and now i'm almost done with my rpg. all i have to do is: -vehicle shop -player menu -sweeper job -ammunation -chat distance when i got those 5 things i'm ready to open my server
  9. m4rsje

    chat distance

    yeah i used broph but its just the problem i dont know where the chat thingy is i'm at school atm so i might be able to download it and check it out, maybe got a suggestion? and could you maybe upload broph map cant instal mta bec its a student account. i dont got the pw of the admin account is this school should hack it some time
  10. m4rsje

    chat distance

    thank you. but where can i change the old one? bec if i copy that and start it it displays my text 2 times
  11. m4rsje

    chat distance

    hey all, i am making a new rpg (DarkAssassin RolePlay) but i want to make chat distance. that some one in SF cant hear some one talking in LS. i started from (not play but euhm.... the other. forgot the name, there is only a spawn at the dock with cars ). where does it stay? in wich script? so i can change it or do i have to make a hole new script for that? so yes what should i look like. thank you
  12. dear sandro, you must be new on the forum. on this topic/forum you shouldn't ask for a scripter. its kinda stopid if you ask that but i just saw it and i'm like a junior scripter what are you want to make? rpg? freeroam stunt? race server? just say and ill think about it regartz, mars.
  13. https://wiki.multitheftauto.com/wiki/OnPlayerChat go and try it. its not working :3 it displayes your text 2 times, but once with name and once without.
×
×
  • Create New...