Jump to content
  • 0

Custom Item that Give Cash points?


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Hello,

 

im tried make consumeable item that will give cash points.. But somehow its not working.. Im using this script at the item : 

 

{atcommand "@points 100"; }{}{} 

 

Maybe this command wrong? Thanks in advance..

Edited by rakuzas
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  


7176,100_Cash,100 Cash,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{set #CASHPOINTS, #CASHPOINTS+100; dispbottom "You have received 100 Cash Points.";},{},{}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Its still not working.. No error at console.. I also already change the name at data folder.. Its actually from original item.. im just edit it..

 

 

7176,100_Cash,100 Cash,2,,,10,,,,,,,,,,,,,{set #CASHPOINTS, #CASHPOINTS+100;},{},{}
 


Ok.. Now im manage to make it works.. But is it possible to tell player how much points they receive at chat box? Like command @points 100 by GM, we will see the amount we receive... 

 

Here is my current script : 

 

 

7176,100_Cash,100 Cash,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{set #CASHPOINTS, #CASHPOINTS+100;},{},{}
 
Edited by rakuzas
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Thanks a lot.. Its working~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...