Raised This Month: $ Target: $400
 0% 

Latenightcup Screenshot System


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xeonn
Junior Member
Join Date: Jun 2006
Old 06-25-2006 , 12:15   Re: Latenightcup Screenshot System
Reply With Quote #1

Quote:
Originally Posted by rain
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.
Thnx for your reply, but im just new to the AMXMODX coding, can you explain it a little further?
xeonn is offline
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 06-25-2006 , 12:25   Re: Latenightcup Screenshot System
Reply With Quote #2

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.
__________________
rain is offline
xeonn
Junior Member
Join Date: Jun 2006
Old 06-25-2006 , 15:33   Re: Latenightcup Screenshot System
Reply With Quote #3

It wont work, i just want command to set the timer that makes a screenshot of everyplayer in the game.
xeonn is offline
Reply



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 08:08.


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