Raised This Month: $ Target: $400
 0% 

Return inside ``'s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 12-25-2011 , 07:23   Re: Return inside ``'s
Reply With Quote #1

Its for achievement api,

so I save with a stringt,

for example:

Ach_Save("`Kill_1` = '5', `Kill_2` = '8', `Kill_3` = '9'", steamid)

Then main achievement handler,

needs to get all inside ``'s
->
So: `Kill_1` `Kill_2` `Kill_3`

& then I can check if player earned an achievement.

I hope u understand it a little more now :p
__________________
Retired.
Xalus is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-25-2011 , 07:40   Re: Return inside ``'s
Reply With Quote #2

And what is the problem ?
If a char is not passed or make the string to be cut, then use the ctrl char \ before that char.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-25-2011 , 18:32   Re: Return inside ``'s
Reply With Quote #3

I don't entirely understand what you are actually doing but it sounds like you need to rethink your method of storing that info and how you store it in memory when you read it from where you permanently store it.

How are you storing this info in permanent storage? Nvault? txt? etc.
__________________
fysiks 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 11:50.


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