Diss Posted April 25, 2014 Posted April 25, 2014 i need script like this usable item when you click it the player will get the group id 1(VIP) and have expiration . thanks .. Quote
EL Dragon Posted April 26, 2014 Posted April 26, 2014 use the script command "atcommand" atcommand "@adjgroup <group_id>"; Quote
Aksl Posted April 26, 2014 Posted April 26, 2014 (edited) *vip_status(<type>,{"<character name>"})Returns various information about a player's VIP status. Valid types: 1 - VIP status. (1 if VIP, 0 if non-VIP) 2 - VIP expire date. (timestamp string if VIP, 0 if non-VIP) 3 - VIP time remaining. (timestamp string if VIP, 0 if non-VIP) NOTE: This command is only available if the VIP System is enabled. --------------------------------------- *vip_time <time>,{"<character name>"}; Changes a player's VIP time (in minutes). A positive value will increase time, and a negative value will decrease time. NOTE: This command is only available if the VIP System is enabled. Edited April 26, 2014 by Aksl Quote
Diss Posted April 27, 2014 Author Posted April 27, 2014 can i make it like this atcommand "@adjgroup <1>,10000,1"; for have expiration ? Quote
sandbox Posted April 28, 2014 Posted April 28, 2014 Try this - script test -1,{ OnPCLoginEvent: if(#VIPitem >= gettimetick(2)) { atcommand "@adjgroup 1"; } end; } //put this on your usable as its Item Script //Default 5 minutes VIP //set #VIPItem,gettimetick(2)+300; Quote
Question
Diss
i need script like this
usable item when you click it the player will get the group id 1(VIP) and have expiration .
thanks ..
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.