Raised This Month: $12 Target: $400
 3% 

Reserve Starting Position


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
karaulov
Senior Member
Join Date: Jul 2018
Old 02-18-2019 , 01:38   Reserve Starting Position
Reply With Quote #1

Reserve Spawn Position

Description:
  • say "savespawn" to reserve for you nearest spawn position and starting view angle
    (To gain some advantage over other players.)
  • Can be used for VIP/Admin user to reserve better spawn point for map.
    (but need add check for VIP/Admin in code)


    At next round you will be started from selected spawn (info_player_start/deathmatch) point, with selected view angle.

Test and debug:
  • install bot_api and replace use_bot_api 0 to use_bot_api 1, and use_debug 0 to use_debug 1

    WARNING! NEED TEST IT IN MULTIPLAYER. I TESTED IT ONLY WITH BOTS.

If use semiclip: (or another used for player solid_not when collided)
  • replace use_semiclip 0 to use_semiclip 1

Changelog:
  • Version 1.2
    Now angles saves for every player
    (Fixed problem 1.1 version)
  • Version 1.1
    In this version one spawn point can be used by multiple players (with one angle, need fix it in 1.2 version)
    (added const bool:use_onespawn_oneplayer = false)
  • Version 1.0 : Initial release
    In this version one spawn point can be used only by one player

Video:
Attached Files
File Type: sma Get Plugin or Get Source (ReserveSpawnPosition.sma - 319 views - 10.6 KB)
File Type: sma Get Plugin or Get Source (ReserveSpawnPosition1.2.sma - 357 views - 12.1 KB)

Last edited by karaulov; 02-18-2019 at 06:57.
karaulov is offline
thEsp
BANNED
Join Date: Aug 2017
Old 02-18-2019 , 05:42   Re: Reserve Starting Position
Reply With Quote #2

Is it your plugin or the server/game that is sending player 20 colliding with player 12 ?
thEsp is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 02-18-2019 , 05:46   Re: Reserve Starting Position
Reply With Quote #3

No ) Please read description or see video, or read plugin code)))

say "savespawn" to reserve for you nearest spawn position and starting view angle
(To gain some advantage over other players.)



In next rounds you started from selected spawn (info_player_start/deathmatch) point, with selected view angle.

Last edited by karaulov; 02-18-2019 at 05:49.
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 02-18-2019 , 05:57   Re: Reserve Starting Position
Reply With Quote #4

thEsp, I fixed plugin links, now plugin compiled and can be download.

Last edited by karaulov; 02-18-2019 at 05:58.
karaulov is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode