Thread: [PI] login add item method error

Results 1 to 7 of 7
  1. #1 [PI] login add item method error 
    Registered Member
    Join Date
    Jul 2010
    Posts
    169
    Thanks given
    11
    Thanks received
    12
    Rep Power
    1
    ok so i created a simple method where you get a certain amount of cash everytime you login but i get and error.

    here is my method:
    if(playerRights == 2 || playerRights == 1) {
    getItems().addItem(995, 450000);
    }else{
    if(playerRights == 0) {
    getItems().addItem(995, 175000);
    return;
    }
    and i get 13 errors, also how would i add a timer so you can only get the cash after 24 hours(so you log in 1 day you get the money and you cant get anymore for 24 hours)

    please help
     

  2. #2  
    Banned

    Join Date
    Oct 2010
    Posts
    1,730
    Thanks given
    56
    Thanks received
    97
    Rep Power
    0
    why not just add vote4cash?
    I can make you one like this
    Vote4Cash
     

  3. #3  
    Registered Member
    Join Date
    Jul 2010
    Posts
    169
    Thanks given
    11
    Thanks received
    12
    Rep Power
    1
    ok ty add me on msn [email protected]
     

  4. #4  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    Quote Originally Posted by brianm23 View Post
    why not just add vote4cash?
    I can make you one like this
    Vote4Cash
    Don't listen to him, I'll set you up one for free and I actually know what I am doing.


     

  5. #5  
    Registered Member
    Join Date
    Jul 2010
    Posts
    169
    Thanks given
    11
    Thanks received
    12
    Rep Power
    1
    well ok then add me
     

  6. #6  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    added


     

  7. #7  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Item wearing on first login
    By Sixpack in forum Help
    Replies: 5
    Last Post: 10-31-2010, 10:14 PM
  2. T2 error on login.
    By failz in forum Help
    Replies: 4
    Last Post: 09-11-2010, 02:49 AM
  3. randrom item wen login first time
    By Vsall in forum Requests
    Replies: 4
    Last Post: 02-27-2010, 09:10 AM
  4. item on item for z508 error
    By Azir in forum Help
    Replies: 2
    Last Post: 11-16-2009, 02:10 AM
  5. login error
    By MistaahSells in forum Help
    Replies: 13
    Last Post: 05-19-2009, 01:48 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •