19.09.2013, 03:26
(
Последний раз редактировалось Sti; 19.09.2013 в 04:25.
Причина: Resolvido :)
)
Olá, Venho atravez deste tópico pedir para Bloquearem esse comando para procurado ou seja....
Tal player usou o comando /consertar em Fuga e aparece-se a mensagem:
[ x ] Você está Procurado e não pode usar este Comando !
Já tentei Procurar/Fazer e nenhum deu certo!
Tal player usou o comando /consertar em Fuga e aparece-se a mensagem:
[ x ] Você está Procurado e não pode usar este Comando !
Já tentei Procurar/Fazer e nenhum deu certo!
pawn Код:
if( !strcmp( cmdtext, "/consertar", true ))
{
if( pInfo[ playerid ][ Prof ] == MECANICO || aInfo[ playerid ][ Admin ] == 1 || aInfo[ playerid ][ Moderador ] == 1 )
{
if( !IsPlayerInAnyVehicle( playerid ))
{
SendClientMessage( playerid, COLOR_ERRO, "[ x ] Você não está em um veículo !" );
return 1;
}
SendClientMessage( playerid, COLOR_AMARELO, "[ > ] Veículo consertado !" );
new
v = GetPlayerVehicleID( playerid )
;
resetNeon( playerid );
SetVehicleHealth( v, 1000 );
RepairVehicle( v );
PlayerPlaySound( playerid, 1057, 0.0, 0.0, 10.0 );
}
else
{
SendClientMessage( playerid, COLOR_ERRO, "[ x ] Você não é um(a) Mecânico(a) !" );
}
return 1;
}