Raised This Month: $66 Target: $400
 16% 

BATGIRL's Automatic Crazy Votes 2.3x (Ludwig)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   SniperBeamer (61)
xmdxtremekiller
Member
Join Date: Mar 2004
Old 03-27-2004 , 14:37   BATGIRL's Automatic Crazy Votes 2.3x (Ludwig)
Reply With Quote #1

Fun plugin it makes random votes
Only ported and had to change some natives.
please copy crazy_votes.ini to addons/amxx/configs/crazy_votes.ini
DOWNLOAD CRAZY VOTE ZIP THE INI FILE IS IN THERE
you can modify it also and make your own votes
Attached Files
File Type: zip crazy_votes.zip (1.2 KB, 6078 views)
File Type: sma Get Plugin or Get Source (batgirls_crazy_votes.sma - 4830 views - 21.3 KB)
xmdxtremekiller is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 03-27-2004 , 14:41  
Reply With Quote #2

don't hardcode paths into configs dir... use get_configsdir stock instead
__________________
hello, i am pm
PM is offline
xmdxtremekiller
Member
Join Date: Mar 2004
Old 03-27-2004 , 14:42  
Reply With Quote #3

FIXED it
xmdxtremekiller is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 03-27-2004 , 15:55  
Reply With Quote #4

please fix also the one in elj_vault.

you can try this, but test it please
Code:
public ejl_vault(rw[],key[],value[]){     new data[192]     new stxtsize = 0     new line = 0     new skip = 0     new vkey[64]     new vvalue[128]     new vaultwrite[192]     new ejl_vault_file[64]     get_basedir(elf_vault_file, 63)     format(elj_vault_file, 63, "%s/elj_vault.ini", elj_vault_file)     if(equal(rw,"READ")){         if(file_exists(elj_vault_file) == 1){             copy(vault_value,128,"")             while((line=read_file(elj_vault_file,line,data,192,stxtsize))!=0){                 parse(data,vkey,64,vvalue,128)                 if(equal(vkey,key)){                     copy(vault_value,128,vvalue)                 }             }         }else{             write_file(elj_vault_file, "**** Plugins use to store values -- immune to crashes and map changes ****", 0)         }     }     else if(equal(rw,"WRITE")){         if(file_exists(elj_vault_file) == 1){                   format(vaultwrite,192,"%s %s",key,value)             while((line=read_file(elj_vault_file,line,data,192,stxtsize))!=0){                 parse(data,vkey,64,vvalue,128)                 if(skip == 0){                     if( (equal(data,"")) || (equal(vkey,key)) ){                         skip = 1                         write_file(elj_vault_file,vaultwrite,line-1)                     }                 }                 else if(equal(vkey,key)){                     write_file(elj_vault_file,"",line-1)                 }             }             if(skip == 0){                 write_file(elj_vault_file,vaultwrite,-1)             }         }     }     return PLUGIN_CONTINUE }

it was in the amxx basedir; consider moving it into configs dir (replace get_basedir by get_configsdir) or custom dir.
__________________
hello, i am pm
PM is offline
xmdxtremekiller
Member
Join Date: Mar 2004
Old 03-27-2004 , 15:56  
Reply With Quote #5

fixed
xmdxtremekiller is offline
ThorW634
Member
Join Date: Aug 2004
Location: Zeal
Old 03-27-2004 , 17:23  
Reply With Quote #6

OMFGGFGFGFGFGFOFOMGOFGM im so excited!
ThorW634 is offline
Send a message via AIM to ThorW634
xmdxtremekiller
Member
Join Date: Mar 2004
Old 03-27-2004 , 17:39  
Reply With Quote #7

lol tell me if there are any bugs or anything
xmdxtremekiller is offline
Blind Man
Junior Member
Join Date: Mar 2004
Location: Grid 42, Sector C255
Old 03-28-2004 , 18:31  
Reply With Quote #8

hey um like how do you start one of the votes is it on a set time to do one or do u have to say something?
__________________
I like cheese
Windows Xp
Steam
Blind Man is offline
Send a message via MSN to Blind Man
xmdxtremekiller
Member
Join Date: Mar 2004
Old 03-28-2004 , 20:44  
Reply With Quote #9

yes a time is set
xmdxtremekiller is offline
MeTaL69
Senior Member
Join Date: Jun 2004
Location: England
Old 07-04-2004 , 14:22  
Reply With Quote #10

I put in my name to be owner but sometimes in the votes, it says "my name" should ban which admin. But im in that list as well!! Is there away of stopping that?
Also can u add ur steam id to exclude players from the votes? If not, where do i find my wonid??
MeTaL69 is offline
Reply


Thread Tools
Display Modes

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 23:37.


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