Jump to content

no wanted in LV


Recommended Posts

Posted

It gets the zone name... Set the bool to 'true' to get city names only. Should able to get "Las Vegas" with it. Click on the code, read the wiki.

Posted

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) 

Posted

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

Posted
setTimer 
getZoneName 
setPlayerWantedLevel 

if (zone == "Las Venturas") then 

Now you can try to make it. Use the timer to check every 1~5 seconds or she/he is in LV. (Zone) It's easy, really. Just think ;) I already did alot of the script.

Posted

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.

Posted
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

Posted
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.

Posted
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.

Posted
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!!

Posted
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.

Posted
  
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.

Posted

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?

Posted

what i always wanted to say to take the zone location i think u still didnt understand me!

XyEybMm.pnguser.Console

i hope u now understand me

each in each point we take (X, Y, Z) to make zone ?

that what i know

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...