Latenightcup Screenshot System
#include <amxmodx>
#include <amxmisc> #include <engine> #include <core> Code:
#include <amxmodx>If i type /amx_screenshot X ; it will make a screenshot of the player X But the script wont load, need help :cry: |
Re: Latenightcup Screenshot System
anyone ?
|
Re: Latenightcup Screenshot System
Take a look here: http://forums.alliedmods.net/showthread.php?t=29637
And do a search for 'attach_view()' usage. Apart from it, plugin_init() is buggy with the 'id' variable usage. |
Re: Latenightcup Screenshot System
Quote:
|
Re: Latenightcup Screenshot System
The first thing: You can't use attach_view() on players. You have to create an entity which will follow the player, just remember about the unrendered model. Then attach_view() to it.
The id thing: set_task(2.0,"resetview",id) set_task( get_cvar_float("amx_screentime"), "screenshot", id) This doesn't make sense. There is no id variable known at this time. |
Re: Latenightcup Screenshot System
It wont work, i just want command to set the timer that makes a screenshot of everyplayer in the game.
|
| All times are GMT -4. The time now is 08:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.