Arrays help
#1

Hello,

I have this right now under OnPlayerDisconnect:

pawn Код:
Test[playerid][0] = 0;
    Test[playerid][1] = 0;
    Test[playerid][2] = 0;
    Test[playerid][3] = 0;
    Test[playerid][4] = 0;
and it works but I have a question if it's possible if you can set all those to 0 in 1 line

Example(I have tried this it won't work but just to show what I mean)

pawn Код:
Test[playerid[0, 1, 2, 3, 4] = 0
I would need something like this in the future

thanks
Reply


Messages In This Thread
Arrays help - by Cowboy - 12.10.2011, 14:01
Re: Arrays help - by CyNiC - 12.10.2011, 14:08
Re: Arrays help - by aRoach - 12.10.2011, 16:04

Forum Jump:


Users browsing this thread: 1 Guest(s)