Raised This Month: $ Target: $400
 0% 

Help Once Again =/


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 10-11-2007 , 11:11   Help Once Again =/
Reply With Quote #1

hey guys im making a plugin and in the plugin i want a MOTD to pop up

in the MOTD i want it to say
C:\Program Files\Steam\steamapps\YOUR ACCOUNT\
i want to replace the YOUR ACCOUNT with the users steam account name
and i dont know if this is possible or not?

if it is will someone do this for me?
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 10-11-2007 , 12:23   Re: Help Once Again =/
Reply With Quote #2

I don't think is possible ; more...amxmodx is server side :/
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 10-11-2007 , 13:21   Re: Help Once Again =/
Reply With Quote #3

ok ,thats what i was thinking i just had to make sure =/ it sucks because poeple dont ever know where to find the demos they create. im making a plugin to do this
/record "Demo name" = records a demo with name given
/stop = stops recording the demo
/playdemo "Demo name" = plays the demo
/finddemo "Demo name" would give them the exact location in a MOTD but then i thought about AMXX being server side so i wanted to ask 1st.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-11-2007 , 14:16   Re: Help Once Again =/
Reply With Quote #4

You can have the MOTD SAY whatever you want it to say
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 10-11-2007 , 15:06   Re: Help Once Again =/
Reply With Quote #5

yes i know that but i want it to Replace YOUR ACCOUNT with the users Steam Account name
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
alien
Senior Member
Join Date: Aug 2005
Location: London || Slovakia
Old 10-11-2007 , 15:14   Re: Help Once Again =/
Reply With Quote #6

Show us the part of your code that handles motd.
__________________
alien is offline
Send a message via ICQ to alien
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 10-11-2007 , 15:22   Re: Help Once Again =/
Reply With Quote #7

lol thats just it i havnt created it yet, im at school i was just trying to figure out if this is Possible before i even tryed to make it

thats another reason why i need hlep, i dont know how to make a motd without having it in a .txt file
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
alien
Senior Member
Join Date: Aug 2005
Location: London || Slovakia
Old 10-11-2007 , 15:23   Re: Help Once Again =/
Reply With Quote #8

Code:
my_motd(id)   {     new authid[17];     get_user_authid(id, authid, sizeof(authid) - 1);     new message[128];     formatex(message, sizeof(message) - 1, "C:\Program Files\Steam\steamapps\%s\", authid);     show_motd(id, message, "My MOTD");     return;   }

Hope it helps. Also, remember when using #pragma ctrlchar '\', you need to replace every '\' in formatex line with '\\'.
__________________
alien is offline
Send a message via ICQ to alien
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 10-11-2007 , 15:29   Re: Help Once Again =/
Reply With Quote #9

thanks i have the /record, and /stop finished just not on this comp(im at school still bout to leave now...)
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 10-11-2007 , 15:35   Re: Help Once Again =/
Reply With Quote #10

What alien ?! LOL , OMG , that's the lolex't thing i have seen... Steam account name is not the steam id lol ! You'r code will print something like
this :

Code:
C:\Program Files\Steam\steamapps\STEAM_0:0:12345678\
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
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 16:05.


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