[Pomoc] pomoc pawnooo

Započeo [BE:RP]Dzoni, April 25, 2013, 16:57:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Dragon Fire v2.4.3
Detaljan opis problema: Ocu da dodam opremu, a neznam kako pa sam ja to na svoju ruku uradio pa je to ispalo ovako(dole u kodu) . E sad kad udjem IG kucam /akcija pa /equip e sad kad kucam /equip pojavi mi se dijalog i ponudi mi sta da biram ja to izaberem i ne pojavljuje mi se nista,cak ni kad . Molim za pomoc
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):
     

CMD:akcija(playerid, params[]) // By DraGoN
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 19  || PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 6  || PlayerInfo[playerid][pLeader] == 6  || PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16
|| PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 5  || PlayerInfo[playerid][pLeader] == 5
|| PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13
|| PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 25 || PlayerInfo[playerid][pLeader] == 25 || PlayerInfo[playerid][pMember] == 7  || PlayerInfo[playerid][pLeader] == 7)
{
if(NaAkciji[playerid] == 1)
{
NaAkciji[playerid] = 0;
SafeResetPlayerWeapons(playerid);
SCM(playerid,COLOR_GREY,"** Niste vise na akciji.");
}
else if(NaAkciji[playerid] == 0)
{
NaAkciji[playerid] = 1;
SCM(playerid,COLOR_GREY,"** Sada mozete uzeti opremu.");
}
}
}
return 1;
}

CMD:equip(playerid, params[]) // By DraGoN
{
if(IsPlayerConnected(playerid))
{
new string[128],sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername,sizeof(sendername));
if((PlayerInfo[playerid][pMember] == 19  ||  PlayerInfo[playerid][pLeader] == 19) && IsPlayerInRangeOfPoint(playerid, 2,2336.7620,-1135.0751,1050.7101)
|| (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) && IsPlayerInRangeOfPoint(playerid, 2,1271.4515,-796.2720,1084.1719)
|| (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) && IsPlayerInRangeOfPoint(playerid, 2,2556.5193,-1305.2424,1060.9844)
|| (PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21) && IsPlayerInRangeOfPoint(playerid, 2,958.2475,-53.6183,1001.1172)
|| (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) && IsPlayerInRangeOfPoint(playerid, 2,958.2475,-53.6183,1001.1172)
     || (PlayerInfo[playerid][pMember] == 13 ||  PlayerInfo[playerid][pLeader] == 13) && IsPlayerInRangeOfPoint(playerid, 2,677.8940,-462.3289,-25.6172)
|| (PlayerInfo[playerid][pMember] == 16 ||  PlayerInfo[playerid][pLeader] == 16) && IsPlayerInRangeOfPoint(playerid, 2,441.7570,1411.0492,1084.3047)
|| (PlayerInfo[playerid][pMember] == 5 ||  PlayerInfo[playerid][pLeader] == 5) && IsPlayerInRangeOfPoint(playerid, 2,2375.0317,-1127.6121,1050.8750)
|| (PlayerInfo[playerid][pMember] == 24 ||  PlayerInfo[playerid][pLeader] == 24) && IsPlayerInRangeOfPoint(playerid, 2,2336.7620,-1135.0751,1050.7101))
{
if(NaAkciji[playerid] == 1)
{
new sapdequip[] = "1\tAK47\n2\tMP5\n3\tAK47 i MP5\n4\tCombat\n5\tArmor";
ShowPlayerDialog(playerid,53,DIALOG_STYLE_LIST,"Oruzje:",sapdequip,"Izaberite","Otkazi");
return 1;
}
else
{
SCM(playerid,COLOR_GREY,"** Morate kucajti /akcija da bi uzeli oruzje.");
return 1;
}
}
if((PlayerInfo[playerid][pMember] == 25 ||  PlayerInfo[playerid][pLeader] == 25) && IsPlayerInRangeOfPoint(playerid, 2,2336.7620,-1135.0751,1050.7101)
|| (PlayerInfo[playerid][pMember] == 20 ||  PlayerInfo[playerid][pLeader] == 20) && IsPlayerInRangeOfPoint(playerid, 2,267.1542,1294.8147,1080.2578)
|| (PlayerInfo[playerid][pMember] == 13 ||  PlayerInfo[playerid][pLeader] == 13) && IsPlayerInRangeOfPoint(playerid, 2,677.8940,-462.3289,-25.6172)
|| (PlayerInfo[playerid][pMember] == 16 ||  PlayerInfo[playerid][pLeader] == 16) && IsPlayerInRangeOfPoint(playerid, 2,441.7570,1411.0492,1084.3047)
|| (PlayerInfo[playerid][pMember] == 5 ||  PlayerInfo[playerid][pLeader] == 5) && IsPlayerInRangeOfPoint(playerid, 2,2375.0317,-1127.6121,1050.8750))
{
if(NaAkciji[playerid] == 1)
{
if((PlayerInfo[playerid][pMember] == 20 ||  PlayerInfo[playerid][pLeader] == 20))
{
new sapdequip[] = "1\tM4\n2\tMP5\n3\tM4 i MP5";
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Oruzje:",sapdequip,"Izaberite","Otkazi");
}
else if((PlayerInfo[playerid][pMember] == 25 ||  PlayerInfo[playerid][pLeader] == 25))
{
new sapdequip[] = "1\tM4\n2\tMP5\n3\tM4 i MP5\n4\tArmor";
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Oruzje:",sapdequip,"Izaberite","Otkazi");
}
                else if((PlayerInfo[playerid][pMember] == 16 ||  PlayerInfo[playerid][pLeader] == 16))
{
new sapdequip[] = "1\tM4\n2\tMP5\n3\tM4 i MP5\n4\tArmor";
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Oruzje:",sapdequip,"Izaberite","Otkazi");
}
return 1;
}
else
{
SCM(playerid,COLOR_GREY,"** Morate kucajti /akcija da bi uzeli oruzje.");
return 1;
}
}
if(PlayerInfo[playerid][pDuty] == 0)
{
SCM(playerid,COLOR_GREY,"** Niste na duznosti (/duty)!");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 6, 257.1108,78.0250,1003.6406))//SAPD Lockers
{
if(PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1 && PlayerInfo[playerid][pMember] != 22 && PlayerInfo[playerid][pLeader] != 22)
{
SCM(playerid,COLOR_GREY,"** This Refill Point is Only for the SAPD");
return 1;
}
new sapdequip[] = "1\tCadet Patrol\n2\tOfficer Patrol\n3\tDetektiv Patrol\n4\tMotorcyclist Patrol\n5\tStandard SWAT\n6\tMedium SWAT\n7\tHeavy SWAT\n8\tSharpshooter SWAT\n9\tArmour+Health\n10\tCeremonial Uniform\n11\tDefault\n12\tHigher Ranked";
ShowPlayerDialog(playerid,50,DIALOG_STYLE_LIST,"List of Equips:",sapdequip,"Izaberite","Otkazi");
SCM(playerid, COLOR_GREY,"* REMEMBER, You may not be able to Select EVERYTHING, Each Item needs it's Specified Rank!");
}
else if(IsPlayerInRangeOfPoint(playerid, 6, 223.6328,186.8251,1003.0313))//FBI Lockers (Library)
{
if(PlayerInfo[playerid][pMember] != 2 && PlayerInfo[playerid][pLeader] != 2)
{
SCM(playerid,COLOR_GREY,"** This Refill Point is Only for the FBI");
return 1;
}
new fbiequip[] = "1\tCadet Equipment\n2\tAgent Equipment\n3\tWatching Equipment\n4\tSpy Equipment\n5\tStandard Tactical\n6\tMedium Tactical\n7\tHeavy Tactical\n8\tSharpshooter Tactical\n9\tArmour+Health\n10\tCeremonial Suit\n11\tDefault\n12\tHigher Ranked";
ShowPlayerDialog(playerid,51,DIALOG_STYLE_LIST,"List of Equips:",fbiequip,"Izaberite","Otkazi");
SCM(playerid, COLOR_GREY,"* REMEMBER, You may not be able to Select EVERYTHING, Each Item needs it's Specified Rank!");
}
else if(IsPlayerInRangeOfPoint(playerid, 6, 233.4989,123.6518,1003.2188))//Army Lockers
{
if(PlayerInfo[playerid][pMember] != 3 && PlayerInfo[playerid][pLeader] != 3)
{
SCM(playerid,COLOR_GREY,"** This Refill Point is Only for the Army");
return 1;
}
new armyequip[] = "1\tPrivate Equipment\n2\tSergeant Equipment\n3\tWatching Equipment\n4\tSpy Equipment\n5\tStandard Special Forces\n6\tMedium Special Forces\n7\tHeavy Special Forces\n8\tSniper Tactical\n9\tArmour+Health\n10\tCeremonial Suit\n11\tDefault\n12\tHigher Ranked";
ShowPlayerDialog(playerid,52,DIALOG_STYLE_LIST,"List of Equips:",armyequip,"Izaberite","Otkazi");
SCM(playerid, COLOR_GREY,"* REMEMBER, You may not be able to Select EVERYTHING, Each Item needs it's Specified Rank!");
}
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /equip %d",d,m,y,h,mi,s,sendername, params);
CommandLog(string);
}
return 1;
}


treba mi ovo doleee:

}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}


Moze li neko da mi uradi ja ne znam?
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

zavrseno
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;