Jump to content

[HELP]turfing


K4stic

Recommended Posts

Posted

How make Owner's i mean then player's in same Group take this turf to be can't take it again untill it take's other group

and to output there => outputChatBox ( "Turf owners: here be the name of that Group Turf Owner", p, 255, 255, 0 ) <= Sorry for my bad english

addEventHandler ( 'onColShapeHit', root, 
    function ( p ) 
        if ( getElementData ( p, "Group" ) ) then 
            if ( source == pCuboid ) then 
                outputChatBox ( "Turf owners: coming soon!", p, 255, 255, 0 ) 
                outputChatBox ( "Wait 5 min to take turf.", p, 255, 255, 0 ) 
                setRadarAreaFlashing ( pArea, true ) 
                getElemetdata( p, "owners") 
                local pGang = getElementData ( p, "Group" ) 
                setTimer ( 
                    function ( ) 
                        setRadarAreaColor ( pArea, iR2, iG2, iB2, 100 ) 
                        givePlayerMoney ( p, 5000 ) 
                        outputChatBox ( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ) 
                        setRadarAreaFlashing ( pArea, false ) 
                        getElementdata ( p, "Group" ) 
                        setElementdata( p, "owners" ) 
                    end 
                    ,300000, 1 
                ) 
            end 
        else 
            outputChatBox ( "Get in a group first!", p, 255, 0, 0 ) 
        end 
    end 
) 
  
addEventHandler ( 'onColShapeLeave', root, 
    function ( ) 
        if ( source == pCuboid ) then 
            setRadarAreaFlashing ( pArea, false ) 
        end 
    end 
) 

Giving a Fuck? Nope, That isn't in My Skill Set

castie11.png

Posted

Because that script isn't yours. I don't know anyone that uses "p" as player argument neither that uses prefixes like the ones used in that code except myself and I don't remember helping you in MTASA forums with turfs.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

He didnt steal that :/ he is upgrading it, Guyz help him :/ he isnt stealing.

~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names.

~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.

 

Posted
I no have say is my i just ask help in part who i make -_-

The script is mine, I could help you, but i am busy.

If i have time, i might update it.

He didnt steal that :/ he is upgrading it, Guyz help him :/ he isnt stealing.

I know he is just upgrading it, but as far as i know, MTA forums scripting section is to help with your own scripts, not someone else

Looking for tutorials or information? check out: www.simpleask.co.uk

Posted
I no have say is my i just ask help in part who i make -_-

The script is mine, I could help you, but i am busy.

If i have time, i might update it.

He didnt steal that :/ he is upgrading it, Guyz help him :/ he isnt stealing.

I know he is just upgrading it, but as far as i know, MTA forums scripting section is to help with your own scripts, not someone else

50p is always helping with editing his own scripts.. as far as I remember.

Posted

These are different things. He helps with his public resources.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted
Because that script isn't yours. I don't know anyone that uses "p" as player argument neither that uses prefixes like the ones used in that code except myself and I don't remember helping you in MTASA forums with turfs.

Nice catch xD

Btw Skipper if you want help , put the author name if you didn't that means your dis-respecting him.

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

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