[sscanf] pawn to php
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
Why are you splitting up strings coming from a database in the first place?
Because I'm working on a quest (finding objects), and I want to make a San Andreas Map in php to show with a red marker all the object that player has, ex: https://i.imgur.com/7TC3oyV.jpg (something like that).

And in database i'm saving like that the id https://imgur.com/a/C0VcmLS

I'm using this function like this to load in a player variables the id of the object id that player has.
Код:
new show_s[300], var_storage[50];
cache_get_field_content(0, "ObjectID", show_s);
sscanf(show_s, "a<i>[50]", var_storage);
I have the coordinates of all objects id, but the problem is that, i don't know how can I make in php to extract from database the object id in a array like function above, but only for php not pawn.
Reply


Messages In This Thread
[sscanf] pawn to php - by None1337 - 23.08.2018, 13:47
Re: [sscanf] pawn to php - by coool - 23.08.2018, 16:47
Re: [sscanf] pawn to php - by OneDay - 23.08.2018, 17:36
Re: [sscanf] pawn to php - by None1337 - 24.08.2018, 11:06
Re: [sscanf] pawn to php - by None1337 - 24.08.2018, 22:44
Re: [sscanf] pawn to php - by None1337 - 24.08.2018, 23:42
Re: [sscanf] pawn to php - by CodeStyle175 - 25.08.2018, 09:02
Re: [sscanf] pawn to php - by bgedition - 25.08.2018, 10:05
Re: [sscanf] pawn to php - by None1337 - 26.08.2018, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)