01.01.2018, 04:17
Pessoal, tou com problema que й: quando um veiculo explode no servidor ele nгo respawna
o modelo que tou usando й esse:
o comando que da respawn nos veiculo sгo esses:
Qual й o problema??
o modelo que tou usando й esse:
PHP код:
AddStaticVehicleEx(428,568.6840,-1262.7968,16.9294,279.6335,6,6); // Veiculo Forte 1
AddStaticVehicleEx(428,569.5797,-1266.9418,16.6769,281.6876,6,6); // Veiculo Forte 2
PHP код:
if (strcmp(cmd, "/rv",true) == 0){
if(pAdmin[playerid] >= 3 || pAdmin[playerid] >= 4 || pAdmin[playerid] >= 5){
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), " | INFO - SERVER | O Administrador %s (%d) deu respawn nos veнculos.", pname,playerid);
SendClientMessageToAll(adm, string);
for(new v; v<MAX_VEHICLES; v++) SetVehicleToRespawn(v);
SendClientMessage(playerid, Verde, "[ X ] Veiculos Respawnados!");
return 1;
}
}
if(!strcmp(cmd,"/rvs", true) && pAdmin[playerid] > 0){
if(pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
format(string, sizeof(string), "| INFO - SERVER | O(A) Administrador(a): %s respawnou todos os veнculos sem uso!",PlayerName(playerid));
SendClientMessageToAll(ocd, string);
for(new i; i < MAX_VEHICLES; i++)
if(!IsVehicleInUse(i))
SetVehicleToRespawn(i);
}
return 1;
}