[AJUDAA] Problema Com Dialog
#3

Na verdade, vocк acabou colocando 2 jeitos de abrir o Dialog, poderia ser usando o comando ou ficando em cima do Нcone.


Bom, sendo o que for o cуdigo abaixo deve resolver o problema, e tente colocar sempre os cуdigos em [pawn ] e [/pawn], pois tive que colocar os cуdigos na forma "de lado".


Quote:

if(dialogid == 666 && IsACop(playerid)){

if(response){
if(listitem == 0){
GivePlayerWeapon(playerid, 3, 999);
GivePlayerWeapon(playerid, 22, 150);
GivePlayerWeapon(playerid, 41, 500);
GivePlayerWeapon(playerid, 25, 150);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
if(listitem == 1){
GivePlayerWeapon(playerid, 3, 999); // cacetete D:
GivePlayerWeapon(playerid, 4, 200);
GivePlayerWeapon(playerid, 23, 150); // Silenciadora
GivePlayerWeapon(playerid, 24, 500); // EAGLE D:
GivePlayerWeapon(playerid, 25, 150); // DOZE D:
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
if(listitem == 2){
GivePlayerWeapon(playerid, 3, 999); // cacetete D:
GivePlayerWeapon(playerid, 4, 200);
GivePlayerWeapon(playerid, 23, 150); // Silenciadora
GivePlayerWeapon(playerid, 24, 500); // EAGLE D:
GivePlayerWeapon(playerid, 25, 150); // DOZE D:
GivePlayerWeapon(playerid, 29, 150);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
if(listitem == 3){
GivePlayerWeapon(playerid, 3, 999); // cacetete D:
GivePlayerWeapon(playerid, 4, 200);
GivePlayerWeapon(playerid, 23, 150); // Silenciadora
GivePlayerWeapon(playerid, 24, 500); // EAGLE D:
GivePlayerWeapon(playerid, 25, 150); // DOZE D:
GivePlayerWeapon(playerid, 31, 200);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
if(listitem == 4){
GivePlayerWeapon(playerid, 3, 999); // cacetete D:
GivePlayerWeapon(playerid, 4, 200);
GivePlayerWeapon(playerid, 23, 150); // Silenciadora
GivePlayerWeapon(playerid, 24, 500); // EAGLE D:
GivePlayerWeapon(playerid, 25, 150); // DOZE D:
GivePlayerWeapon(playerid, 31, 200);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
if(listitem == 5){
GivePlayerWeapon(playerid, 3, 999); // cacetete D:
GivePlayerWeapon(playerid, 4, 200);
GivePlayerWeapon(playerid, 23, 150); // Silenciadora
GivePlayerWeapon(playerid, 24, 500); // EAGLE D:
GivePlayerWeapon(playerid, 25, 150); // DOZE D:
GivePlayerWeapon(playerid, 31, 200);
GivePlayerWeapon(playerid, 34, 200);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
}
else{
}
}

Espero ter ajudado
Reply


Messages In This Thread
[AJUDAA] Problema Com Dialog - by Erick_Schultz - 30.11.2010, 21:44
Re: [AJUDAA] Problema Com Dialog - by jhony test - 30.11.2010, 22:09
Re: [AJUDAA] Problema Com Dialog - by rjjj - 01.12.2010, 14:32
Re: [AJUDAA] Problema Com Dialog - by Erick_Schultz - 01.12.2010, 14:53

Forum Jump:


Users browsing this thread: 3 Guest(s)