[AJUDA] RC BUGO
#1

meu /rc bugo nao sei como nao mechi nela
Quote:

//Spawn Carros
if(strcmp(cmd, "/respawncarros", true) == 0 || strcmp(cmd, "/rc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo estб autorizado a usar este comando !");
return 1;
}
if(admtrampando[playerid] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/profadmin)");
return 1;
}
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "[BPT] Todos os carros foi para seus locais de inicio. By: %s.", playername);
SendClientMessageToAll(0xFFC801C8,string);
new bool:unwanted[CAR_AMOUNT];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= CAR_RESPAW; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
}
return 1;
}

Reply


Messages In This Thread
[AJUDA] RC BUGO - by Homer_Tihuana - 07.10.2010, 15:04
Re: [AJUDA] RC BUGO - by GTA.Drifter - 07.10.2010, 15:26
Re: [AJUDA] RC BUGO - by Gabriel_Halls - 07.10.2010, 15:42
Re: [AJUDA] RC BUGO - by zSuYaNw - 07.10.2010, 16:14
Re: [AJUDA] RC BUGO - by Homer_Tihuana - 07.10.2010, 16:47
Re: [AJUDA] RC BUGO - by Gabriel_Halls - 07.10.2010, 17:03
Re: [AJUDA] RC BUGO - by zSuYaNw - 07.10.2010, 17:58
Re: [AJUDA] RC BUGO - by TiagoPS - 07.10.2010, 18:00
Re: [AJUDA] RC BUGO - by zSuYaNw - 07.10.2010, 18:10
Re: [AJUDA] RC BUGO - by TiagoPS - 07.10.2010, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)