View Single Post
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world :)
Old 11-27-2012 , 13:16   Re: Played Time: Extended v0.1
Reply With Quote #2

** Sub-Plugins **
  • ** Set/Add/Take user times **
This plugin is meant to show you an example on how to use plugin natives for creating other plugins that will be compatible with this.

Commands:
amx_set_time <name/@team/@all/*> <+/-/ or time to set> <time to add or take in minutes> - Sets time

Examples:
Code:
] amx_set_time
Usage:  amx_set_time <name/@team/@all/*> <+/-/ or time to set> <time to add or take> - Sets time

] amx_set_time @T 100
ADMIN Khalid :): Set TERRORIST team players total time to 100

] amx_set_time @CT + 100
ADMIN Khalid :): Add to CT team players total time 100

] amx_set_time @ALL - 100000000
(IN CHAT) ADMIN Khalid :): Take from Everyone's total 2000
PS: To use this, you will need PlayedTime_Extended plugin from the first post and played_time.inc file

** Old plugins **
Old (unsupported plugins) are in the attachments, also.
Attached Files
File Type: sma Get Plugin or Get Source (PlayedTime_Extended_Old_0_1.sma - 1425 views - 19.4 KB)
File Type: sma Get Plugin or Get Source (PlayedTime_Extended_v0.1b.sma - 1373 views - 24.7 KB)
File Type: sma Get Plugin or Get Source (pte_set_time.sma - 1374 views - 3.5 KB)
File Type: sma Get Plugin or Get Source (pte_donate_connect.sma - 941 views - 4.7 KB)
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 06-07-2016 at 00:39. Reason: update
pokemonmaster is offline