[Ajuda] Comandos /Efeitos e /AC
#11

PHP Code:
if(dialogid == 987//EFEITOS
{
    if(!
response){return 1;}
//    if(!IsPlayerSpawned(playerid)){return 1;}
//    if(Arena[playerid] == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[0]);
    
if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, -1"[ERRO]: Vocк deve sair de seu veнculo.");}
    if(
listitem == 0){if(IsPlayerAttachedObjectSlotUsed(playerid,2)){RemovePlayerAttachedObject(playerid,2);SendClientMessage(playerid, -1"[INFO]: Efeito removido");}return 1;}
    if(
listitem == 1){SetPlayerAttachedObject(playerid,2186901, -0.80.0, -0.30.087.090.0);}
    if(
listitem == 2){SetPlayerAttachedObject(playerid,2187141, -0.20.10.00.087.090.0);}
    if(
listitem == 3){SetPlayerAttachedObject(playerid,2187201, -0.20.10.00.087.090.0);}
    if(
listitem == 4){SetPlayerAttachedObject(playerid,2187211, -0.20.10.00.087.090.0);}
    if(
listitem == 5){SetPlayerAttachedObject(playerid,2187281, -0.20.10.00.087.090.0);}
    if(
listitem == 6){SetPlayerAttachedObject(playerid,2187421, -0.20.10.00.087.090.0);}
    
SendClientMessage(playerid, -1"[INFO]: Espero que goste do novo efeito!");
    return 
1;
}

if(
dialogid == 995//HOLDING OBJECTS
{
    if(!
response){return 1;}
    
//if(!IsPlayerSpawned(playerid)){return 1;}
    //if(Arena[playerid] == 1) return SendClientMessage(playerid, -1, StringTable[0]);
    
if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, -1"[ERRO]: Vocк deve sair de seu veнculo.");}
    if(
listitem == 0){if(IsPlayerAttachedObjectSlotUsed(playerid,1)){RemovePlayerAttachedObject(playerid,1);SendClientMessage(playerid, -1"[INFO]: Acessуrio removido");}return 1;}
    if(
listitem == 1){SetPlayerAttachedObject(playerid,1160910.00.00.090.00.0, -90.0);} //TARTARUGA
    
if(listitem == 2){SetPlayerAttachedObject(playerid,112441, -0.20.10.00.087.090.0);} //BOMBA DE GASOLINA
    
if(listitem == 3){SetPlayerAttachedObject(playerid,1159820.20.00.00.00.00.0);} //BOLA
    
if(listitem == 4){SetPlayerAttachedObject(playerid,1151820.20.0, -0.040.0100.0180.0);} //TELEVISГO
    
if(listitem == 5){SetPlayerAttachedObject(playerid,1125420.10.010.00.090.00.0);} //CAVEIRA
    
if(listitem == 6){SetPlayerAttachedObject(playerid,13561, -0.2, -0.150.00.024.00.0);} //M4
    
if(listitem == 7){SetPlayerAttachedObject(playerid,1302810.3, -0.15, -0.030.01200.0);} //ESPADA
    
if(listitem == 8){SetPlayerAttachedObject(playerid,136610.4, -0.250.00.0160.00.0);} //EXTINTOR
    
if(listitem == 9){SetPlayerAttachedObject(playerid,137110.0, -0.1750.00.090.00.0);} //PARAQUEDAS (MOCHILA)
    
if(listitem == 10){SetPlayerAttachedObject(playerid,1125210.1, -0.20.00.090.00.0);} //EXPLOSIVO
    
if(listitem == 11){SetPlayerAttachedObject(playerid,1291410.00.00.17180.090.00.0);} //BANDEIRA VERDE
    
if(listitem == 12){SetPlayerAttachedObject(playerid,131311, -0.20.150.00.090.00.0);} //PARAQUEDAS (ABERTO)
    
if(listitem == 13){SetPlayerAttachedObject(playerid,135410.00.00.00.00.00.0);} //CLARIDADE (HYDRA FLARE)
    
if(listitem == 14){SetPlayerAttachedObject(playerid,13211, -0.240.6, -0.0790.00.00.0);} //DILDO FRENTE
    
if(listitem == 15){SetPlayerAttachedObject(playerid,13231, -0.7, -0.20.0, -90.050.00.0);} //DILDO ATRБS
    
if(listitem == 16){SetPlayerAttachedObject(playerid,1124010.150.170.060.090.00.0);} //CORAЗГO
    
if(listitem == 17){MostrarDialogoAcessorios(playerid2);return 1;}
    
SendClientMessage(playerid, -1"[INFO]: Espero que goste do novo acessуrio!");
    return 
1;
}

if(
dialogid == 996//HOLDING OBJECTS 2
{
    if(!
response){MostrarDialogoAcessorios(playerid1);return 1;}
    
//if(!IsPlayerSpawned(playerid)){return 1;}
    //if(Arena[playerid] == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[0]);
    
if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, -1"[ERRO]: Vocк deve sair de seu veнculo.");}
    if(
listitem == 0){SetPlayerAttachedObject(playerid,,16442 100090900);}
    if(
listitem == 1){SetPlayerAttachedObject(playerid,,2114 20.100000);}
    if(
listitem == 2){SetPlayerAttachedObject(playerid,,322 1, -0.10.2, -0.04901800);}
    if(
listitem == 3){SetPlayerAttachedObject(playerid,,1608 10000900);}
    if(
listitem == 4){SetPlayerAttachedObject(playerid,,2780 2000090180);}
    if(
listitem == 5){SetPlayerAttachedObject(playerid,116541,0.1,0.20,0.0,180.0,100.0,0.0);}
    if(
listitem == 6){SetPlayerAttachedObject(playerid,,2054 ,,0.1 ,0.03 ,-0.01 ,,90 ,180);}
    if(
listitem == 7){SetPlayerAttachedObject(playerid,,2053 ,,0.1 ,0.03 ,-0.01 ,,90 ,180);}
    if(
listitem == 8){SetPlayerAttachedObject(playerid,,2052 ,,0.1 ,0.03 ,-0.01 ,,90 ,180);}
    if(
listitem == 9){SetPlayerAttachedObject(playerid,,1213 ,,0.16 ,,,,90 ,0);}
    if(
listitem == 10){SetPlayerAttachedObject(playerid,,2226 ,,0.4 ,0.04 ,0,-90 ,30);}
    if(
listitem == 11){SetPlayerAttachedObject(playerid,,1318 ,15 ,,,,,,0);}
    if(
listitem == 12){SetPlayerAttachedObject(playerid,,1238 ,,0.4 ,-0.02 ,0.0001 ,,90 ,0);}
    if(
listitem == 13){SetPlayerAttachedObject(playerid,,1582 ,,,,-0.16 ,50 ,,10);}
    if(
listitem == 14){SetPlayerAttachedObject(playerid,,1644 ,,0.1 ,0.08 ,,55 ,,180);}
    if(
listitem == 15){SetPlayerAttachedObject(playerid,,330 ,,0.15 ,0.01 ,,,180 ,0);}
    if(
listitem == 16){SetPlayerAttachedObject(playerid,,330 ,,0.15 ,0.01 ,,,180 ,0);}//cube head
    
if(listitem == 17){MostrarDialogoAcessorios(playerid3);return 1;}
    
SendClientMessage(playerid, -1"[INFO]: Espero que goste do novo acessуrio!");
    return 
1;
}

if(
dialogid == 997//HOLDING OBJECTS 3
{
    if(!
response){MostrarDialogoAcessorios(playerid2);return 1;}
    
//if(!IsPlayerSpawned(playerid)){return 1;}
    //if(Arena[playerid] == 1) return SendClientMessage(playerid, -1, StringTable[0]);
    
if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, -1"[ERRO]: Vocк deve sair de seu veнculo.");}
    if(
listitem == 0){SetPlayerAttachedObject(playerid,,1852 ,,0.1 ,,-0.01 ,,15 ,0);} // cube head
    
if(listitem == 1){SetPlayerAttachedObject(playerid,,1603 ,,0.3 ,,,,90 ,0);} // jellyfish hat 1
    
if(listitem == 2){SetPlayerAttachedObject(playerid,,1602 ,,0.2 ,,,,90 ,0);} // jellyfish hat 2
    
if(listitem == 3){SetPlayerAttachedObject(playerid,,1610 ,,0.08 ,,,,90 ,0);} // sand castle hat
    
if(listitem == 4){SetPlayerAttachedObject(playerid,,2470 ,,0.1 ,,-0.07 ,35 ,80 ,180);} // plane hat
    
if(listitem == 5){SetPlayerAttachedObject(playerid,,2485 ,,0.1 ,,0.05 ,40 ,80 ,180);} // car hat
    
if(listitem == 6){SetPlayerAttachedObject(playerid,,2880 ,,0.13 ,-0.1 ,,,10 ,10);} // hamburger hat
    
if(listitem == 7){SetPlayerAttachedObject(playerid,,1736 ,,,,,,90 ,180);} // dead deer head(awesome)
    
if(listitem == 8){SetPlayerAttachedObject(playerid,,2680 ,15 ,-0.06 ,,0.15 ,100 ,,190);} // chain on neck
    
if(listitem == 9){SetPlayerAttachedObject(playerid,,373 10.33, -0.029, -0.15652535);} // armour
    
if(listitem == 10){SetPlayerAttachedObject(playerid,,2036 ,15 ,,0.13 ,-0.2 ,90 ,,-50);} // fake sniper on back
    
if(listitem == 11){SetPlayerAttachedObject(playerid,,359 ,15 ,-0.02 ,0.08 ,-0.3 ,,50 ,-10);} // rpg on back
    
if(listitem == 12){SetPlayerAttachedObject(playerid,,1951 ,,0.13 ,0.09 ,0.05 ,-30 ,190 ,0);} // big green bottle
    
if(listitem == 13){SetPlayerAttachedObject(playerid,,1667 ,,0.09 ,0.04 ,0.07 ,170 ,-170 ,0);} // whine glass
    
if(listitem == 14){SetPlayerAttachedObject(playerid,,2703 ,,0.1 ,0.05 ,,,,0);} // hamburger
    
if(listitem == 15){SetPlayerAttachedObject(playerid,,2712 ,,0.1 ,-0.05 ,-0.2 ,,-50 ,10);} // mop
    
if(listitem == 16){SetPlayerAttachedObject(playerid,,1371 1500, -0.1);} // hippo
    
if(listitem == 17){SetPlayerAttachedObject(playerid,,953 ,15 ,,-0.1 ,0.2 ,,,0);} // clam
    
if(listitem == 18){MostrarDialogoAcessorios(playerid4);return 1;}
    
SendClientMessage(playerid, -1"[INFO]: Espero que goste do novo acessуrio!");
    return 
1;
}

if(
dialogid == 986//HOLDING OBJECTS 4
{
    if(!
response){MostrarDialogoAcessorios(playerid3);return 1;}
    
//if(!IsPlayerSpawned(playerid)){return 1;}
    //if(Arena[playerid] == 1) return SendClientMessage(playerid, -1, StringTable[0]);
    
if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, -1"[ERRO]: Vocк deve sair de seu veнculo.");}
    if(
listitem == 0){SetPlayerAttachedObject(playerid,112431, -0.20.10.00.087.090.0);}
    if(
listitem == 1){SetPlayerAttachedObject(playerid,112351, -0.20.10.00.087.090.0);}
    if(
listitem == 2){SetPlayerAttachedObject(playerid,112231, -0.20.10.00.087.090.0);}
    if(
listitem == 3){SetPlayerAttachedObject(playerid,112151, -0.20.10.00.087.090.0);}
    if(
listitem == 4){SetPlayerAttachedObject(playerid,11209 1, -0.20.10.00.087.090.0);}
    if(
listitem == 5){SetPlayerAttachedObject(playerid,11301 1, -0.20.10.00.087.090.0);}
    if(
listitem == 6){SetPlayerAttachedObject(playerid,11305 1, -0.20.10.00.087.090.0);}
    if(
listitem == 7){SetPlayerAttachedObject(playerid,11316 1, -0.20.10.00.087.090.0);}
    if(
listitem == 8){SetPlayerAttachedObject(playerid,11346 1, -0.20.10.00.087.090.0);}
    if(
listitem == 9){SetPlayerAttachedObject(playerid,11358 1, -0.20.10.00.087.090.0);}
     if(
listitem == 10){SetPlayerAttachedObject(playerid,13472 1, -0.20.10.00.087.090.0);}
     if(
listitem == 11){SetPlayerAttachedObject(playerid,13471 1, -0.20.10.00.087.090.0);}
     if(
listitem == 12){SetPlayerAttachedObject(playerid11906520.1200000.040000, -0.00350001001001.41.41.4);} //Gorro do Papai Noel
    
SendClientMessage(playerid, -1"[INFO]: Espero que goste do novo acessуrio!");
    return 
1;

Aqui, luan.
Reply


Messages In This Thread
Comandos /Efeitos e /AC - by shirouz - 01.11.2018, 16:36
Re: Comandos /Efeitos e /AC - by [BOPE]Seu._.Madruga - 01.11.2018, 22:13
Re: Comandos /Efeitos e /AC - by shirouz - 01.11.2018, 22:27
Re: Comandos /Efeitos e /AC - by [BOPE]Seu._.Madruga - 01.11.2018, 22:41
Re: Comandos /Efeitos e /AC - by shirouz - 01.11.2018, 22:55
Re: Comandos /Efeitos e /AC - by [BOPE]Seu._.Madruga - 01.11.2018, 23:52
Re: Comandos /Efeitos e /AC - by shirouz - 02.11.2018, 00:03
Re: Comandos /Efeitos e /AC - by shirouz - 02.11.2018, 00:05
Re: Comandos /Efeitos e /AC - by shirouz - 02.11.2018, 00:16
Re: Comandos /Efeitos e /AC - by ipsLuan - 02.11.2018, 05:29
Re: Comandos /Efeitos e /AC - by shirouz - 04.11.2018, 05:16

Forum Jump:


Users browsing this thread: 2 Guest(s)