[PEDIDO] Comando para resetar carros
#3

Aqui esta desculpe a mб indentaзгo tem que estar logado na rcon
PHP код:
//na public OnPlayerComandText
if(strcmp("/Respawn"cmdtexttrue10) == 0){if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1"Vocк nгo estб logado na RCON.");ResetarCarros();return 1;}
//no fim do GM
stock ResetarCarros(){static bool:inVeh;for(new iMAX_VEHICLESi++ ){inVeh false;for(new jGetMaxPlayers(); j++ ){if(IsPlayerInVehiclej))inVeh true;break;}if(!inVehSetVehicleToRespawn(i);}} 
Reply


Messages In This Thread
[PEDIDO] Comando para resetar carros - by OwT_SiixX - 29.05.2012, 21:17
Re: [PEDIDO] Comando para resetar carros - by Crueliz0n - 29.05.2012, 21:24
Re: [PEDIDO] Comando para resetar carros - by 4LiSs0N - 29.05.2012, 21:27
Re: [PEDIDO] Comando para resetar carros - by Don_Speed - 29.05.2012, 21:33
Re: [PEDIDO] Comando para resetar carros - by OwT_SiixX - 29.05.2012, 21:38
Re: [PEDIDO] Comando para resetar carros - by 4LiSs0N - 29.05.2012, 21:51
Re: [PEDIDO] Comando para resetar carros - by Waldrey - 29.05.2012, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)