21.03.2017, 21:30
Como posso limitar o mapa tipo assim...
/* •• /save // max ymax |----------| | | xmin | | xmax | | |----------| ymin • /save // min */
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
AddPlayerClass(2,1546.3549,-1675.5996,13.5622,89.0421,0,0,0,0,0,0); // min
AddStaticVehicle(411,4041.7681,-508.6000,1.4601,340.5664,177,215); // max
x_max, x_min, Y_max, y_min, Exemplo: 4041.7681, 1546.3549, -508.6000, -1675.5996
public OnPlayerSpawn(playerid)
{
SetPlayerWorldBounds(playerid, 4041.7681, 1546.3549, -508.6000, -1675.5996);
}