Raised This Month: $51 Target: $400
 12% 

Clan Promotions


Post New Thread Reply   
 
Thread Tools Display Modes
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 06-26-2004 , 15:40  
Reply With Quote #11

Its incomplete, by a long shot, but this is what i have so far...

Code:
/* AMX Mod script. * * (c) 2004, Strake * This file is provided as is (no warranties). */ #include <amxmod> public plugin_init(){     register_plugin("Promotion","1.0.0","Strake") } #define RANK_LEADER 1 #define RANK_ADMIN 2 #define MAX_RANKS 2 new RankTags[MAX_RANKS][24] copy(RankTags[RANK_LEADER], 24, "Capt-") copy(RankTags[RANK_ADMIN], 24, "Corp-")
__________________
[cTs] Strake*ROC* is offline
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 06-26-2004 , 23:18  
Reply With Quote #12

Code:
/* AMX Mod script. * * (c) 2003, Strake * This file is provided as is (no warranties). */ #include <amxmod> public plugin_init(){     register_plugin("Promotions","1.0.0","Strake")     }     client_connect(id) { read_file("promos.ini", "amx_promo", "steamid" "oldrank" "newrank") if (get_user_ip) == (read_file(promos.ini", "amx_promo", "steamid") { client_print(id, print_say, "CONGRADULATIONS!, YOU HAVE BEEN PROMOTED FROM %s TO %s!", oldrank, newrank) client_print(0, print_say, "Everyone congradulate %s on his new promotion!", get_user_name[35]) return PLUGIN_HANDLED }

is what i came up with, but it compiles fine, however when i try to log into ever it says somthing about validation
__________________
[cTs] Strake*ROC* is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 07-04-2004 , 14:38  
Reply With Quote #13

Ok if you looked at the old thread that you made you would have seen that I made one up for you. Now you want some other stuff no problem. But please keep at the old thread. Ok here it is again. As for the rest to easy, I'll get it done in a few.

Cheers!
Zor

*NOTICE*
None of these plugins have been tested, if you use them and they break plz Message me here or via email, use my profile to get that.
Attached Files
File Type: sma Get Plugin or Get Source (amx_promotion.sma - 744 views - 2.2 KB)
File Type: sma Get Plugin or Get Source (mysql_promotion.sma - 753 views - 3.9 KB)
File Type: sma Get Plugin or Get Source (sql_promotion.sma - 670 views - 3.9 KB)
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 07-19-2004 , 23:15  
Reply With Quote #14

I just tested them for the first time, and they dont work.......
__________________
[cTs] Strake*ROC* is offline
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 07-19-2004 , 23:16  
Reply With Quote #15

i tried to make my own.....

Code:
/* AMX Mod X script. * * (c) 2004, Strake * This file is provided as is (no warranties). */ #include <amxmodx> public plugin_init(){     register_plugin("Promos","1.0","Strake")     register_clcmd("amx_promos", "promotion") } public promotion(id) { new Name[51] new LineText[101] new iCurrentLine = 0 new iTextLen; new PlayerID[51] new Rank[51] get_user_name(id, PlayerID, 50) while (read_file("addons/amxx/custom/promotions.ini", iCurrentLine, LineText, 100, iTextLen) >0) { parse(LineText, Name, 50, Rank, 50) if (containi(Name, PlayerID) != -1) { return PLUGIN_HANDLED } else { client_print(id, print_chat, "You have been promoted to %s.", Rank) } iCurrentLine++ } return PLUGIN_HANDLED }

But it didnt work either
__________________
[cTs] Strake*ROC* is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 07-22-2004 , 14:08  
Reply With Quote #16

I have created a plugin that suits your needs. Please make reference to the following: and I hope this one works better than the last. It too needs testing so please give it a go.

http://forums.alliedmods.net/showthr...?p=39260#41586

Cheers!
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
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 05:25.


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