[AJUDA] Comando
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
    if(!strcmp(cmdtext, "/carro", true)) {
        new allvehicles[] = "1\tAirplanes\n2\tHelicopters\n3\tBikes\n4\tConvertibles\n5\tIndustrial\n6\tLowriders\n7\tOffRoad\n8\tPublic Service Vehicles\n9\tSaloons\n10\tSport Vehicles\n11\tStation Wagons\n12\tBoats\n13\tUnique Vehicles\n14\tRC Vehicles\n15\tTrailers";
        ShowPlayerDialog(playerid, 2,DIALOG_STYLE_LIST," Vehicles: || Scroll Down for more",allvehicles,"Select","Cancel");
        return 1;
    }
    return 0;
}
Se vocк estiver usando a include zcmd, retire ela.
Reply


Messages In This Thread
[AJUDA] Comando - by goku114 - 03.06.2012, 22:50
Re: [AJUDA] Comando - by Crueliz0n - 03.06.2012, 22:51
Re: [AJUDA] Comando - by goku114 - 03.06.2012, 22:52
Re: [AJUDA] Comando - by Crueliz0n - 03.06.2012, 22:54
Re: [AJUDA] Comando - by zbt - 03.06.2012, 22:55

Forum Jump:


Users browsing this thread: 3 Guest(s)