Raised This Month: $ Target: $400
 0% 

Reading from a file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-08-2007 , 06:56   Re: Reading from a file
Reply With Quote #1

not working! I put the name in names.ini but nothing happen! I can enter the game with that name!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-08-2007 , 11:05   Re: Reading from a file
Reply With Quote #2

copy the name from the file and from the game.
[ --<-@ ] Black Rose is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-08-2007 , 15:31   Re: Reading from a file
Reply With Quote #3

what do you mean?? i don't get it! The name from the file is the same with the name from game! can you help me Rose? Plz...
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 02-08-2007 at 17:07.
Alka is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-09-2007 , 01:47   Re: Reading from a file
Reply With Quote #4

is it EXACTLY the same?
for example:
"Black Rose" != "black rose"
[ --<-@ ] Black Rose is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-09-2007 , 03:45   Re: Reading from a file
Reply With Quote #5

yes.. In Names.ini i wrote lol and in game i have the name lol and nothing happen!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-09-2007 , 09:06   Re: Reading from a file
Reply With Quote #6

Copy and paste what you've got in Names.ini
Phantom Warrior is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-09-2007 , 09:27   Re: Reading from a file
Reply With Quote #7

lol
hack
wall|zor
CandyMan^

This is what i have in names.ini :-w and i enter in game with lol and its now working!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 02-09-2007 , 10:08   Re: Reading from a file
Reply With Quote #8

Little tip.change
Code:
if ( equal(pName, mName, len) )
to
Code:
if ( equali(pName, mName, len) )

So it work also with "LOL" and "lol"
__________________
schnitzelmaker is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-09-2007 , 15:42   Re: Reading from a file
Reply With Quote #9

Thanks for the tip! But this is not working! why?
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 02-09-2007 , 16:54   Re: Reading from a file
Reply With Quote #10

If i read right you want filter by names.

So you need to change
Code:
get_user_authid(id, pName, 19)
to
Code:
get_user_name(id, pName, 19)

"get_user_authid" is for geting his steamid.
__________________
schnitzelmaker 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 00:44.


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