enum TLocation{Id,Float:LocX, // The X-position of the locationFloat:LocY, // The Y-position of the locationFloat:LocZ // The Z-position of the location}new ALocations[][TLocation] ={{ 0,-1192.30005, -1060.40002, 128.2}, ..... };
new Id,Float:x,Float:y,Float:z;ALocations[TLocation][LocX] = x;ALocations[TLocation][LocY] = y;ALocations[TLocation][LocZ] = z; {new vehicleid = GetPlayerVehicleID(playerid); new vehiclemodel = GetVehicleModel( vehicleid ); if (vehiclemodel == 531) {if(IsPlayerInRangeOfPoint(playerid,-1192.30005, -1060.40002, 128.2)) { if(rakott[0] == 0) { rakott[0] = 1; buza[0] = CreateObject(855, -1192.30005, -1060.40002, 128.2, 0, 0, 0); fizu +=200;}}
0,x,y,z1,x,y,z3,x,y,z6,x,y,z...
enum TLocation{Id,Float:LocX, // The X-position of the locationFloat:LocY, // The Y-position of the locationFloat:LocZ // The Z-position of the location}
ALocations[TLocation][LocX] = x;ALocations[TLocation][LocY] = y;ALocations[TLocation][LocZ] = z;{
new Float:Positions[5][3];
ADATBEOLVASÁS beolvasottszoveg tömbbe//new ID,Float:PosX,Float:PosY,Float:PosZ;if(!sscanf(beolvasottszoveg,\"sfff\",ID,PosX,PosY,PosZ)){Position[iD][0] = PosX;Position[iD][1] = PosY;Position[iD][2] = PosZ;}
0,0.0,0.2,0.31,1.0,1.2,1.32,2.0,2.2,2.33,3.0,3.2,3.34,4.0,4.2,4.3
Position[PosX] = x;Position[PosY] = y;Position[PosZ] = z;