Jump to content

How The Set The Players Number As The Value


Recommended Posts

Well Im Trying To Set The Players Number As The Item Value Of The Phone But It Does'nt Work

It Is In The Correct Column And It Fails To Give The Item

    elseif(shop_type == -- s8) --> then 
        local phonenumber = getElementData(localPlayer, "cellnumber") 
        item = { 
            {"Ghettoblaster","A black ghettoblaster.", "250", 54, 1, 1, false,10}, 
            {"Katana", "Your favourite Japanese sword.", "2500", 8, 1, 1,true,100}, 
            {"Camera", "A small black analogue camera.", "75", 43, 25,1,true, 30}, 
            {"Cellphone", "A stylish, slim cell phone.", "75", 2, phonenumber,1,false,50}, 
            {"Radio", "A black radio.", "50", 6, 1,1,false,30}, 
            {"Earpiece", "An earpiece that can be used with an radio.", "225", 88, 1,1,false,60}, 
            {"Watch", "Telling the time was never so sexy!", "25", 17, 1, 1,false,10}, 
            {"MP3 Player", "A white, sleek looking MP3 Player. The brand reads EyePod.", "120", 19, 1,1,false,7}, 
            {"Chemistry Set", "A small chemistry set.", "2000", 44, 1,1,false,15}, 
            {"Safe", "A Safe to store your items in.", "300", 60, 1,1,false,0}, 
            {"Portable TV", "A portable TV to watch the TV.", "750", 104, 1, 1, false, 350}, 
            {"Breathalizer","A small black breathalizer.", "350", 53, 1, 1, false,10}, 
            {"Card Deck","A card deck to play some fun games.", "20", 77, 1, 1, false,10}, 
            {"Glowstick","A green glowstick.", "70", 28, 1, 1, false,10}, 
            {"PDA","A PDA you can use to browse the internet and check your emails.", "1000", 96, 1, 1, false,10}, 
            {"Electric lock","An anti theft electric lock.", "5000", 119, 1, 1, false,2000}, 
            {"GPS","Use it to help you get around.", "150", 67, 1, 1, false,10} 
     
        } 

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