Jump to content

no wanted in LV


Recommended Posts

Example

  
x, y, z = LVarea 
local LVcolshape = createColSphere(x, y, z, 100.0) 
  
function LVwelcomemsg (thePlayer) 
outputChatBox("Welcome You Are Now in LV", thePlayer, 255, 255, true) 
end 
addEventHandler("onColShapeHit", LVcolshape, LVwelcomemsg) 

so now the player wont get wanted? in LV

Link to comment
Why do you even want such a script?

You obviously don't understand ANYTHING about this stuff at all.

Maybe you should spend your time in a better way.

please if u cant help then shut up

If you can't do even the most simple script on your own, then you definitely don't belong here.

You don't want to learn how to do this, you just want someone to do it for you.

Unfortunately, sooner or later someone is gonna post a working script and you win.

Link to comment
please if u cant help then shut up

If you want help then don't ask people to "shut up", calm down for a while, read a beginners guide to scripting to understand the basics like this maybe. Then you can ask for help.

but i get the information from Mta wiki and try to understand here how to work!!

Link to comment
Why do you even want such a script?

You obviously don't understand ANYTHING about this stuff at all.

Maybe you should spend your time in a better way.

please if u cant help then shut up

He actually gave you a good advice. Learn how to respect.

Link to comment
  
if (zone == "Las Venturas") then 
    setPlayerWantedLevel ( thePlayer, 0 ) 
end 

That's correct, except 'thePlayer'. use 'getElementsByType("player")' to loop through all players, make it check for everyone. Now only that and the 'setTimer' to go.

Link to comment

im using that but player still get wanted in LV can i disable the wantted


it not working

local players = getElementsByType ( "player" ) 
for theKey,thePlayer in ipairs(players) do  
   local level = getPlayerWantedLevel ( thePlayer ) 
   if ( level > 0 ) then -- if the player has any stars,  
      outputChatBox ( getPlayerName ( thePlayer ) .. " has a wanted level of " .. level .. "  stars!" ) 
   end  
end 
if (zone == "Las Venturas") then 
    setPlayerWantedLevel ( thePlayer, 0 ) 
end 

can i use that?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...