AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compiled But Nothing Happens (https://forums.alliedmods.net/showthread.php?t=155371)

Dr7sTyLe 04-21-2011 04:25

Compiled But Nothing Happens
 
Censored

Arkshine 04-21-2011 04:27

Re: Compiled But Nothing Happens
 
Is the plugin running at least ? (amxx list)

Exolent[jNr] 04-21-2011 04:47

Re: Compiled But Nothing Happens
 
Change
PHP Code:

    menu_wakeup++ 

to
PHP Code:

    menu_wakeup menu_wakeup 

And delete
PHP Code:

    {
        
menu_wakeup=1
    



Hunter-Digital 04-21-2011 07:11

Re: Compiled But Nothing Happens
 
Quote:

set_hudmessage( 0, 0, 0, ...
Isn't color 0 0 0 invisible ? I don't remember black HUD messages in this game.

Also, you don't need to use formatex() for just a simple string copy and you don't need to format show_hudmessage() either, just use:
Code:

show_hudmessage(0, wakeup)
I'd also recommend a switch for menu_wakeup... or you could just use an array for day times and format the text.... but anyway, first to make it work :lol:


All times are GMT -4. The time now is 19:48.

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