Raised This Month: $ Target: $400
 0% 

Defining iPos


Post New Thread Reply   
 
Thread Tools Display Modes
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 06-07-2006 , 16:47  
Reply With Quote #11

Nice thnx.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 06-07-2006 , 17:25  
Reply With Quote #12

v3x....have you been away that long....please re-think your code.

If it will be a static/constant text then use the multi-dimensional array as a global.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Urahara
Member
Join Date: Apr 2006
Old 06-07-2006 , 23:06  
Reply With Quote #13

or a static variable.
__________________

Urahara's Shop is open! For all your needs:
http://urahara.amxmodx.org/forums/
Projects:
Ururu AntiCheat
MetaScript Library
Jinta Hax
Urahara is offline
MorpheusCratus
Junior Member
Join Date: Apr 2006
Old 06-08-2006 , 13:50  
Reply With Quote #14

i can't remember but you should be able to use .txt files as motds easier to just display the file instead of making the html text in the plugin
MorpheusCratus is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 06-08-2006 , 16:08  
Reply With Quote #15

In my case this is easier than having 7 different text files to download with the plugin.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 06-08-2006 , 16:19  
Reply With Quote #16

oh god v3x what are you doing?
Code:
  //should be global... new szMotd[3][1024] public DoHelp(id, key) {     if(get_cvar_num("sc_on") == 0)         return 1             new iPos         if(key >= 0 && key <= 2)     {          iPos += format(szMotd[key][iPos], 1023-iPos, "<html></html>")     }     return 1 }

maybe you should use more iPos variables( one for each key ) or an array
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
xnd
Junior Member
Join Date: Jan 2006
Old 06-08-2006 , 18:17  
Reply With Quote #17

hey, i have a quick question!

If ADMIN_KICK is flag "c"
then ????WHAT??? is flag "z"

i need this to edit a plugin. thanks
xnd is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 06-08-2006 , 18:18  
Reply With Quote #18

z is public DO NOT GIVE IT TO ONE OF YOUR ADMINS it change their acces lol
k007 is offline
Send a message via MSN to k007
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 06-08-2006 , 18:34  
Reply With Quote #19

http://www.amxmodx.org/funcwiki.php
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
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 04:44.


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