Jump to content

xXGhostXx

Members
  • Posts

    257
  • Joined

  • Last visited

Everything posted by xXGhostXx

  1. Worked . But players can change the name from MTA Setting ! I Want script for change the name to username /register .
  2. When i use /pm <PartOfName> An empty message will be sent. please fix my script
  3. i have a question : This is my code for Admin PM Script. Admin PM from admin to players. function adminpm ( thePlayer, command, taraf,... ) local message = table.concat ({...}, " ") if not ( isPlayerOnGroup ( thePlayer ) ) then outputChatBox("#ff0000[Error]: #ffffffShoma Dastresi Be In Dastoor Nadarid!", thePlayer, 255, 255, 255, true) return false end if taraf == nil then outputChatBox("#00ff00Bezan: /pm <PartOfName> <Matn>", thePlayer, 255, 255, 255, true) return false end if not findPlayer(taraf) then outputChatBox("#ff0000[Error]: #ffffffPlayer Peyda Nashod!", thePlayer, 255, 255, 255, true) return false end local playerpm = findPlayer(taraf) local nameadmin = getPlayerName( thePlayer ) outputChatBox("#F39C12<< Be " ..taraf.. ": " ..message.. " >>", thePlayer, 255, 255, 255, true) outputChatBox("#F39C12<< [Admin PM] " ..nameadmin.. ": " ..message.. " >>", playerpm, 255, 255, 255, true) end addCommandHandler("pm", adminpm) When i use /pm <PartOfName> An empty message will be sent. please fix my script
  4. How can i make respawn vehicle script ?
  5. You suggest to make ACL ?
  6. i dont know ! What is the best?
  7. i want faction system ! Abilitys : 1. Promote leader by Admin ACL group 2. Haves ranks faction : Rank 1 - Rank 2 - Rank 3 - Rank 4 - Rank 5 - Sub-Leader - Leader 3. Set rank faction members . /setrank <PartOfName> <Number> ( By Leader ) 4. Haves faction vehicle . 5. Respawn all vehicle in faction HQ by Leader and Sub-Leader. /respawnveh 6. Demote leader by Admin 7. Color name in nametags and scoreboard for factions.
  8. 1.Make leader and member 2.Set rank members by leader 3.Vehicle in HQ And all of them.
  9. Hi guys . How to make faction system ? please give me the functions . thanks.
  10. Hi guys . What is problem in my script ? function adminpm ( thePlayer, command, taraf, message ) if not ( isPlayerOnGroup ( thePlayer ) ) then outputChatBox("#ff0000[Error]: #ffffffShoma Dastresi Be In Dastoor Nadarid!", thePlayer, 255, 255, 255, true) return false end if taraf == nil then outputChatBox("#00ff00Bezan: /pm <PartOfName> <Matn>", thePlayer, 255, 255, 255, true) return false end if not findPlayer(taraf) then outputChatBox("#ff0000[Error]: #ffffffPlayer Peyda Nashod!", thePlayer, 255, 255, 255, true) return false end local playerpm = findPlayer(taraf) local nameadmin = getPlayerName( thePlayer ) outputChatBox("#F39C12<< Be " ..taraf.. ": " ..message.. " >>", thePlayer, 255, 255, 255, true) outputChatBox("#F39C12<< [Admin PM] " ..nameadmin.. ": " ..message.. " >>", playerpm, 255, 255, 255, true) end addCommandHandler("pm", adminpm) How to fix text can not be sent more than one word. Please answer me.
  11. Hi guys . please fix my script for on players join and after /login name changed to username . before login name : Guess,random number function GuessShodan() local adadshansi = math.random(9999,9999) setPlayerName(thePlayer, Guess#adadshansi ) end addEventHandler("onPlayerJoin",getRootElement(),GuessShodan) thanks.
  12. hi again i need some idea for make vehicles undamagable or damage proof while vehicle is empty i had tried cancelEvent on 'onVehicleDamage' and its okay , vehicle health does'nt change, BUT vehicle's appearance take damage like doors hood glasses and etc... this is important for me cuz im working on RPG Server... any idea how to prevent that?
  13. IRanian scripters are Noob !

  14. Please answer me job system please ! @Mr.Loki
  15. @DiGiTal Please check my job system post and help me !
  16. No ! I want simple code for job system ! Doesn't have marker, check point and all of them ! All players enter the vehicle id and driving in street and give 6$ money in 3seconds ! Please answer me .
  17. Thanks ! Please check post for make Jobs system ! thanks for your help .
  18. Please check my post for jobs system and help me !
  19. What ?! Please help me ! @KnucklesSAEG Please answer me ! Thanks
  20. Please just this time for your help
  21. I am noob in scripting ! Please make it
  22. What ?! This is your help ? please make for me
×
×
  • Create New...