Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bind(player_join, null, null, @event,
- @prefix = 'PREFIX';
- @array = get_value('players.joined')
- if( is_null(@array) ) {
- @array = array();
- } else {
- array_sort(@array, 'STRING_IC');
- }
- if(array_contains(@array, player())) {
- } else {
- array_push(@array, player());
- store_value('players.joined', @array);
- runas('~console', concat(concat('/pex user ', player()), concat(' prefix ', @prefix)));
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement