One very simple question!
#1

Hello,

One simple straight to the point question:
How do I empty an array?

Thanks

Bas
Reply
#2

wiki.sa-mp.com
Reply
#3

-.- I already searched there...
Reply
#4

I read it the other day! I swear i did...

Ill take a look for you
Reply
#5

Hmm, i cant seem to find it, but i swear its something to do with an if lol. I only skimmed the page looking for something else but i definetly saw it. :S
Reply
#6

:P
My script just dont want to work, this is so DAMN ANNOYING.
Sorry
Reply
#7

What are you trying to do anyway? If you dont want to post it PM me with a pastebin link or something. Ill help you out if i can
Reply
#8

set everything to 0, use a loop
Reply
#9

Show the array and I'll do it for you.
Reply
#10

All right guys,

I will post my script here
The problem is as follows:
The script uses MySQL to get some data, like the X, Y and Z position. When I start the server, it works fine. I can login, and I spawn at the position defined in the database.
But, when I restart the client without restarting the server, I can login, it checks if the password is correct, but I don't spawn anymore!
It's so annoying. I tried many different things. If you place a message in the continuelogin function, I get the x, y and z coordinates just fine.
http://pastebin.com/xHRWi9TH

I hope I will get an answer soon, because I can't continue my gamemode now :S

Thanks so far

Bas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)