[AJUDA] FilterScripts
#9

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
1 - Reduzi o tamanho do FS de armas em 10 vezes:
PHP код:
#include <a_samp>
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == && response && listitem >= && listitem <= 9)            // WEAPONS 1
        
GivePlayerWeapon(playeridlistitem+112000);
    else if(
dialogid == && response)                                        // WEAPONS 2
    
{
        if(
listitem >= && listitem <= 5)
            
GivePlayerWeapon(playeridlistitem+1112000);
        else if(
listitem == 6)
            
GivePlayerWeapon(playerid1812000);
        else if(
listitem >= && listitem <= 9)
            
GivePlayerWeapon(playeridlistitem+1512000);
    }
    else if(
dialogid == && response && listitem >= && listitem <= 9)    // WEAPONS 3
        
GivePlayerWeapon(playeridlistitem+2512000);
    else if(
dialogid == && response)                                        // WEAPONS 4
    
{
        if(
listitem == 0)
            
GivePlayerWeapon(playerid3512000);
        else if(
listitem >= && listitem <= 7)
            
GivePlayerWeapon(playeridlistitem+3612000);
        else if(
listitem == 8)
            
GivePlayerWeapon(playerid4612000);
    }
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/weapons1"true) == 0)
        return 
ShowPlayerDialog(playerid2DIALOG_STYLE_LIST"Weapons 1""Brass Knucles \n Golf Club \n Nite Stick \n Knife \n Baseball Bat \n Shovel \n Pool Cue \n Katana \n Chainsaw \n Purple Dildo""Select""Cancel");
    if(
strcmp(cmdtext"/weapons2"true) == 0)
        return 
ShowPlayerDialog(playerid3DIALOG_STYLE_LIST"Weapons 2""Small White Vibrator \n Large White Vibrator \n Silver Vibrator \n Flowers \n Cane \n Grenande \n Molotov Coctail \n 9mm \n Silenced 9mm \n Desert Eagle""Select""Cancel");
    if(
strcmp(cmdtext"/weapons3"true) == 0)
        return 
ShowPlayerDialog(playerid4DIALOG_STYLE_LIST"Weapons 3""Shotgun \n Sawn-off Shotgun \n Combat Shotgun \n Micro SMG \n MP5 \n AK-47 \n M4 \n Tec9 \n Country Rifle \n Sniper Rifle""Select""Cancel");
    if(
strcmp(cmdtext"/weapons4"true) == 0)
        return 
ShowPlayerDialog(playerid5DIALOG_STYLE_LIST"Weapons 3""Rocket Launcher \n Flamethrower \n Minigun \n Satchel Charge \n Detonator \n Spraycan \n Fire Extinguisher \n Camera \n Parachute  ""Select""Cancel");
    return 
0;

2 - Explica novamente este problema do FS de carros.
Obrigadгo nem sei como agradecer !!!

O problema dos carros й que ao abrir o menu e escolher o tipo de carro que queria este nao fazia o spawn. Vou fazer mais um vнdeo pois para mim й a melhor maneira de perceber й vendo e eu nгo sou muito bom a explicar

PS: Agora com esse codigo se eu clicar sobre por exemplo "AirPlanes" o jogo vai dar-me uma arma. O vнdeo vem jб aн

EDIT: Aqui estб o vнdeo http://www.*******.com/embed/A9sssPO4b-Y
Reply


Messages In This Thread
[AJUDA] FilterScripts - by Japa_tuga - 21.01.2012, 21:10
Re: [AJUDA] FilterScripts - by Japa_tuga - 22.01.2012, 11:23
Re: [AJUDA] FilterScripts - by Don_Speed - 22.01.2012, 11:25
Re: [AJUDA] FilterScripts - by Master_Pawn - 22.01.2012, 11:25
Respuesta: [AJUDA] FilterScripts - by BlackCoder - 22.01.2012, 14:57
Re: [AJUDA] FilterScripts - by Don_Speed - 22.01.2012, 15:14
Re: [AJUDA] FilterScripts - by Japa_tuga - 22.01.2012, 17:01
Re: [AJUDA] FilterScripts - by Shadoww5 - 22.01.2012, 20:51
Re: [AJUDA] FilterScripts - by Japa_tuga - 22.01.2012, 22:06
Re: [AJUDA] FilterScripts - by Shadoww5 - 23.01.2012, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)