Quote:
Originally Posted by Kyosaur!!
Quote:
Originally Posted by AlbanianGuy
look i have made a variable or how ever it is called and it si
Код:
gUserTeam[MAX_PLAYERS]
and i use it for the teams to set the players team .. like this
Код:
GUserTeam[playerid] = Balla;
now my question is how to turn it from [playerid] = Balla to (playerid, Balla);
is it possible ? cuz i realy need it for something more important ...
|
What lol ?
I have no idea why you "need it like that", as in the end, if you make it a function, it'll be set up the SAME with the same variable. All your doing is adding more work.
|
i am trying to save hte player's team .. but when to make hte code if i do it like this
Код:
GTeamUser[playerid = (dUserINT(PlayerName(playerid)).("Balla"))
and hte code when he spawns to save the team
Код:
dUserSetINT(PlayerName2(playerid)).("Balla",GTeamUser[playerid]);
so in other words i want to save the team.. and when i do hte [playerid] = (duser.... it gives me a bunch of errors