SA-MP Forums

Go Back   SA-MP Forums > Members List

MicroD Unknown Reputation

MicroD MicroD is offline

Huge Clucker

Visitor Messages

Showing Visitor Messages 1 to 10 of 17
  1. Slice
    17/08/2012 03:20 PM
    Slice
    Cool.
  2. Slice
    17/08/2012 02:31 PM
    Slice
    A string literal is the strings you type in your scripts. To get certain characters, you must escape them because either you can't type them or they would cause problems.

    Example is this: "hello\n\"quote\""
    That is:
    pawn Code:
    hello
    "quote"

    In JSON (which is the format of that link you sent me), string literals are also used. What you'd have to do, I guess, is search for what you want to find (such as "\"status\"") then search for the next quotation mark, by using strfind with the pos parameter. After you found the position of the next quotation mark, use strfromliteral to read what's inside it.
  3. Slice
    17/08/2012 01:40 PM
    Slice
    Well those are string literals. There could be an escaped " inside them, which means you'll need to properly parse that string.
    This will probably work just fine: strfromliteral
  4. Slice
    17/08/2012 12:05 PM
    Slice
    I guess DJson or something, but it sucks. Where is this data coming from?
  5. Slice
    17/08/2012 09:49 AM
    Slice
    What? Am I some sort of machine that you insert instructions to and out comes code?
  6. Prates
    02/12/2011 11:06 PM
    Prates
    Sorry its Unique =X I can't
  7. Ricop522
    16/10/2011 04:18 PM
    Ricop522
    Thank u
  8. Ricop522
  9. [P4]
    11/10/2011 05:23 PM
    [P4]
    o/ Zdravo!
  10. JaTochNietDan
    28/08/2011 08:53 PM
    JaTochNietDan
    Well you should've picked a better name when you registered then? A lot of forums are like this

About Me

  • Signature

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 17/02/2014 07:24 AM
  • Join Date: 24/09/2010

All times are GMT. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.