14.09.2010, 11:36
(
Последний раз редактировалось Mike_Peterson; 14.09.2010 в 11:56.
)
im having some trouble with the worldbounds can someone help me out...
i've done 4x /save that makes a square
now i got these co-ordinates in savedpositions.txt
on SetPlayerWorldBounds it asks for playerid ofc and x max, min. y max, min
with these addplayerclass co-ordinates how am i able to get the x max, x min, y max, y min of it?
look
4x x,y,z
now the question is what to take? do i have to take the 1485.7169 from renewboundxmin
and for example -2275.7625 from the y max?
help :P
i've done 4x /save that makes a square
now i got these co-ordinates in savedpositions.txt
on SetPlayerWorldBounds it asks for playerid ofc and x max, min. y max, min
Код:
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
look
Код:
AddPlayerClass(280,1485.7169,-2295.7781,33.6349,90.2409,0,0,0,0,0,0); // renewboundxmin this is left under AddPlayerClass(280,1484.9778,-2276.1846,33.5498,88.3608,0,0,0,0,0,0); // renewboundymin this is right under AddPlayerClass(280,1464.7710,-2275.7625,33.5553,82.0941,0,0,0,0,0,0); // renewboundymax this is left up AddPlayerClass(280,1463.9587,-2297.4707,33.4723,95.8809,0,0,0,0,0,0); // renewboundxmax this is right up
now the question is what to take? do i have to take the 1485.7169 from renewboundxmin
and for example -2275.7625 from the y max?
help :P