Raised This Month: $ Target: $400
 0% 

Last plugin is Almost done.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 10-27-2011 , 14:48   Last plugin is Almost done.
Reply With Quote #1

removed

Last edited by vamppa; 03-04-2014 at 22:39.
vamppa is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 10-27-2011 , 14:50   Re: Last plugin is Almost done.
Reply With Quote #2

What is good about this plugin is that it does both auto record and take a screenshot with the necessary information and HD saving while being the smallest plugin out there so far.

Last edited by vamppa; 10-27-2011 at 14:50.
vamppa is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 10-27-2011 , 15:47   Re: Last plugin is Almost done.
Reply With Quote #3

You are replacing symbols in DemoName even it's just created and it's empty.
reinert is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-11-2011 , 12:52   Re: Last plugin is Almost done.
Reply With Quote #4

thANKS, sorted.
what about the line 14 Warning 217: loose indentation?
vamppa is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-11-2011 , 13:09   Re: Last plugin is Almost done.
Reply With Quote #5

tools > identor
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 11-11-2011 , 14:52   Re: Last plugin is Almost done.
Reply With Quote #6

Quote:
Originally Posted by Napoleon_be View Post
tools > identor
Or just see that you made too much spaces.
PHP Code:
public StartRecord(id)
{
         new 
DemoName[128], hostname[64], mapname[64];
    
get_cvar_string("hostname"hostname,63);
    
get_mapname(mapname,63);
    
    
replace_allDemoName127":""_" );
    
replace_allDemoName127".""_" );
    
replace_allDemoName127"*""_" );
    
replace_allDemoName127"/""_" );
    
replace_allDemoName127"|""_" );
    
replace_allDemoName127"\", "_" );
    replace_all( DemoName, 127, "
?", "_" );
    replace_all( DemoName, 127, "
>", "_" );
    replace_all( DemoName, 127, "
<", "_" );
    replace_all( DemoName, 127, " ", "
_" );
    
    format( DemoName, 127, "
%%s", mapname, hostname);
    formatex(DemoName, charsmax(DemoName), "
%s.dem", DemoName)
    
    client_cmd(id, "
stoprecord ^"%s^"", DemoName)
    client_print( id, print_chat, "
Ehll We are now recording in your ag folder");
    client_print( id, print_chat, "
Ehll Filename: ^"%s^"", DemoName);
    

-->
PHP Code:
public StartRecord(id)
{
    new 
DemoName[128], hostname[64], mapname[64];
    
get_cvar_string("hostname"hostname,63);
    
get_mapname(mapname,63);
    
    
replace_allDemoName127":""_" );
    
replace_allDemoName127".""_" );
    
replace_allDemoName127"*""_" );
    
replace_allDemoName127"/""_" );
    
replace_allDemoName127"|""_" );
    
replace_allDemoName127"\", "_" );
    replace_all( DemoName, 127, "
?", "_" );
    replace_all( DemoName, 127, "
>", "_" );
    replace_all( DemoName, 127, "
<", "_" );
    replace_all( DemoName, 127, " ", "
_" );
    
    format( DemoName, 127, "
%%s", mapname, hostname);
    formatex(DemoName, charsmax(DemoName), "
%s.dem", DemoName)
    
    client_cmd(id, "
stoprecord ^"%s^"", DemoName)
    client_print( id, print_chat, "
Ehll We are now recording in your ag folder");
    client_print( id, print_chat, "
Ehll Filename: ^"%s^"", DemoName);
    

__________________
Please enter this website everyday: http://forums.alliedmods.net/showthread.php?t=169067

Last edited by Evaldas.Grigas; 11-11-2011 at 14:53.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-11-2011 , 15:15   Re: Last plugin is Almost done.
Reply With Quote #7

thanks ! you guys are amazing :-)
vamppa 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 02:57.


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