15.11.2011, 21:28
Код:
new
Float:Pos1,
Float:Pos2,
Float:Pos3
;
Код:
new
Float:Pos[2]
;
1) What is the difference ?
2) Can i use both at the same ?
3) Whichever is faster and better..etc
new
Float:Pos1,
Float:Pos2,
Float:Pos3
;
new
Float:Pos[2]
;
SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);

new Float:Pos[3];
new Float:Pos[3];
for(new i = 0; i < sizeof(Pos); i++) {
printf("pos is currently set to %d", i);
}