Raised This Month: $32 Target: $400
 8% 

Empty Server - JustinHoMi - Error compile ModX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 05-29-2004 , 09:02   Empty Server - JustinHoMi - Error compile ModX
Reply With Quote #1

Code:
#include <amxmodx> new next_or_specific = 2 #define MAPS 6 new map[MAPS][32] = { "de_dust2", "de_aztec", "cs_italy", "de_inferno" "awp_map" "aim_map" } new Float:time_delay = 600.0 new once_or_frequently = 2 new Float:check_time = 60.0 new curplayers public change_map() {     new curmap[32]     get_mapname(curmap,32)     curplayers = get_playersnum2()     remove_task(2)         if (curplayers == 0)     {         if (next_or_specific == 1)         {             get_cvar_string("amx_nextmap",map[0],32)             server_cmd("changelevel %s",map[0])         }         else         {             new rand = random_num(0,MAPS-1)             while(equal(curmap,map[rand]))                 rand = random_num(0,MAPS-1)             server_cmd("changelevel %s",map[rand])         }     } } public check_players() {     curplayers = get_playersnum2()     if ((curplayers > 0) && (once_or_frequently == 2))     {         remove_task(1)         remove_task(2)     } } public set_tasks() {     set_task(time_delay,"change_map",1)     if (once_or_frequently == 2)         set_task(check_time,"check_players",2,"",1,"b") } public get_playersnum2() {     new player_list[32],player_num     get_players(player_list,player_num,"c")     return player_num } public plugin_init() {     register_plugin("Empty Server","0.6","JustinHoMi")     set_tasks()     return PLUGIN_CONTINUE }

Not possible to compile that ..... ERROR
sanaell is offline
Send a message via MSN to sanaell
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 05-29-2004 , 09:18  
Reply With Quote #2

Check All

" "

AND

( )
__________________
My Plugins

Got ??
AssKicR is offline
NiLuJe
Veteran Member
Join Date: Mar 2004
Location: Paris, France
Old 05-29-2004 , 11:07   Re: Empty Server - JustinHoMi - Error compile ModX
Reply With Quote #3

Quote:
Originally Posted by sanaell
Code:
"de_dust2", "de_aztec", "cs_italy", "de_inferno" "awp_map" "aim_map"
=>

Code:
"de_dust2", "de_aztec", "cs_italy", "de_inferno", "awp_map", "aim_map"

(The , ;) )
NiLuJe is offline
Send a message via MSN to NiLuJe
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 05-30-2004 , 08:42  
Reply With Quote #4

tu peux me parler en francais nounouille lol


Ok i ll go test
sanaell is offline
Send a message via MSN to sanaell
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 13:20.


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