Raised This Month: $ Target: $400
 0% 

Empty Server - JustinHoMi - Error compile ModX


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 07:02.


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