For don't work...
#1

Hi

I want retrieve data of my database, except that i don't work with one loops because don't she work!

I so did does like this:

http://pastebin.com/qdR3aVHK

But, i did test my pawn code with PHP and the result was equal!

http://pastebin.com/0CHEW2TQ

I don't have errors, but the execution of the server stops.

Here the value of: data (acc_pos in my database)

Код:
0.055998/-0.266999/-0.030998/154.400054/86.700019/6.099997/1.000000/1.000000/1.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000/0.000000
Thank!
Reply
#2

Please help me
Reply
#3

Nobody knows?
Reply
#4

I have some problem one day but it fixed when the max "45" setted on the top e.g : #define LoopMax 45
Then :

for(new i; i < LoopMax; i++)
{
//your code
}
Reply
#5

@Noliax8 that is spamming you might get a 6 point infraction due to multiple spam.
Reply
#6

Try this!
Код:
new elements = 9,
    size = split2(data, value_acc, '/');

for(new i = -1, j = 0; j < size; j++) {
    if((j % elements) == 0) i++;
    pAccessoirePos[playerid][i][j] = floatstr(value_acc[i]);
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)