SiZ3k Posted July 25, 2010 Share Posted July 25, 2010 Hi, iam new in scripting iam from poland i have problems with english language i need script like this https://forum.multitheftauto.com/viewtop ... ic#p316446 I need it to my RP server. Cop must do /arrest /freeze in polish language means /aresztuj /paralizuj Please help me iam creating new RP fort carson server with my friend i have a problem with SHOP too i cant find SHOP script on forum means /buy milk and other Please help! Link to comment
Callum Posted July 25, 2010 Share Posted July 25, 2010 Have you tried searching the community site? There are a few jail resources on there. Link to comment
SiZ3k Posted July 25, 2010 Author Share Posted July 25, 2010 There aren't this script! Link to comment
Callum Posted July 25, 2010 Share Posted July 25, 2010 You can't just come here and request us to make a script for you. Learn lua at https://wiki.multitheftauto.com/ and make it yourself. We will help you with problems you may have, but we won't make entire scripts for you. Link to comment
m4rsje Posted July 25, 2010 Share Posted July 25, 2010 You can't just come here and request us to make a script for you. Learn lua at https://wiki.multitheftauto.com/ and make it yourself. We will help you with problems you may have, but we won't make entire scripts for you. sounds hard, but its true, if you dont learn it, you keep asking and you wont ever get further, learn lua and then post your problems here Link to comment
SiZ3k Posted July 26, 2010 Author Share Posted July 26, 2010 Ok. I got some ideas it is good start ? addCommandHandler( "paralizuj", function( plr, cmd, victim ) local myName = getPlayerName( plr ); if ( isObjectInACLGroup( "user." .. myName, aclGetGroup( "Policja" ) ) ) then local victimPlr = getPlayerFromName( victim ); if victimPlr then local victimName = getPlayerName( victimPlr ); local x,y,z = getElementPosition( plr ); local x2,y2,z2 = getElementPosition( victimPlr ); if getDistanceBetweenPoints3D( x,y,z, x2,y2,z2 ) <= 1 then WHAT THERE!! I COPIED EVERYTHING FROM MEDIC SCRIPT PLEASE HELP! outputChatBox( myName .. " Sparaliżował".. victimName ); else outputChatBox( victimName .. " Nie możeszgo sparaliżować ponownie!", plr ); end else outputChatBox( "Nie jesteś zbyt blisko żeby sparaliżować " .. victimName .. "!", plr ); end else outputChatBox( "Nie znaleziono osoby z imieniem '".. victimName .. "' name!", plr ); end end end ) it can be script for freeze for police ? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now