Raised This Month: $ Target: $400
 0% 

Fade not works..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-21-2009 , 20:04   Fade not works..
Reply With Quote #1

EIDT: full code removed.

i tried to add for this a cmd. ( just for test if its working )

PHP Code:
register_clcmd("say /a","a"
PHP Code:
public a(){
    
UTIL_ScreenFade(1,{255,0,0},5.0,2.0,0,FFADE_IN,false,false)

1. its not working
2. when its active, ma status Hud will not be displayed.
__________________

Last edited by One; 03-22-2009 at 11:45.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-21-2009 , 20:43   Re: Fade not works..
Reply With Quote #2

Then I suggest you post in Connor's thread for the ScreenFade UTIL.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Speed!
BANNED
Join Date: Jan 2009
Old 03-21-2009 , 21:34   Re: Fade not works..
Reply With Quote #3

I know that this is not about, but, use arrays.

Instead of

new g_score2
new g_score3
new g_score4
new g_score5
new g_score6
.....

new g_score[33]

and then
g_score[11] = 190238109283
or g_score[16] = 1908273891723

and, g_score[id] = 91023801892

bleh, I'm hurry so, I can't explain this well.
Speed! is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-21-2009 , 21:38   Re: Fade not works..
Reply With Quote #4

Quote:
Originally Posted by Speed! View Post
I know that this is not about, but, use arrays.

Instead of

new g_score2
new g_score3
new g_score4
new g_score5
new g_score6
.....

new g_score[33]

and then
g_score[11] = 190238109283
or g_score[16] = 1908273891723

and, g_score[id] = 91023801892

bleh, I'm hurry so, I can't explain this well.
i dont wanna to have anybugs later. i think its so better. idk what means another people ?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Old 03-22-2009, 03:44
xPaw
This message has been deleted by xPaw. Reason: !!!!!!!!!!1111111one
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-22-2009 , 05:12   Re: Fade not works..
Reply With Quote #5

I suggest you to learn how to use registered cmds

public a(id){
UTIL_ScreenFade(id,{255,0,0},5.0,2.0,0,FFADE_IN,false,false)
}

Also, i suggest to set alpha more than 0, and the 3 last params are not needed if you let the default values.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-22-2009 , 10:13   Re: Fade not works..
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
I suggest you to learn how to use registered cmds

public a(id){
UTIL_ScreenFade(id,{255,0,0},5.0,2.0,0,FFADE_IN,false,false)
}

Also, i suggest to set alpha more than 0, and the 3 last params are not needed if you let the default values.
lol? ok ty but
first : i think this is correct or not ?

PHP Code:
register_clcmd("say /a","a"
second : i did what u said but its not working. i know i have anything there wrong, but what?

i tried this so :

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#tryinclude <screenfade_util>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /a","a")  
    
// Add your code here...
}
public 
a(id){
    
UTIL_ScreenFade(id,{255,0,0},1.0,0.0,1)

__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-22-2009 , 10:25   Re: Fade not works..
Reply With Quote #7

try alpha 200
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-22-2009 , 11:44   Re: Fade not works..
Reply With Quote #8

Perfect. i couldnt imagin anything better. here a demo. i couldnt record it & convert. ma recorder is buggy.i have bugs between sound & movie.

maybe anyone has a better idea.
Attached Files
File Type: rar test.rar (83.3 KB, 232 views)
__________________

Last edited by One; 03-22-2009 at 11:50.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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:56.


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