[POMOC] komande u dialogu

Započeo TheMonk, Mart 16, 2011, 18:57:54 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GTARP
Detaljan opis problema: Ako neko zna neka mi namesti komandu /help da bude u dialogu,ili mi dajte primer pa cu ja sam da namestim.
Deo skripte:/
if(strcmp(cmd, "/help", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
   SendClientMessage(playerid, COLOR_GRAD1,":: NALOG :: /pravila /zakoni /stats /changepass /levelup /upgrade");
SendClientMessage(playerid, COLOR_GRAD1,":: GENERAL :: /pay  /otkaz /gps /gpsoff /charity /time /buy /unrentcar /unrentbike /switchkey /id /drink /odeca /opendoor(/od)");
SendClientMessage(playerid, COLOR_GRAD2,":: GENERAL :: /resetupgrades(50k) /buygun /lock /skill /licenses /showlicenses(/sl) /report /askq /animlist /stopanim /fuel");
SendClientMessage(playerid, COLOR_GRAD2,":: GENERAL :: (/re)port /govhelp /cancel /accept /eject /usedrugs /contract /fill /admini (/f)actionlist");
SendClientMessage(playerid, COLOR_GRAD3,":: GENERAL :: (/wi)ndows /coin /trunk (/inv)entory /knock /knockout /give /gateopen /sid /smoke");
  SendClientMessage(playerid, COLOR_GRAD3,":: CHAT :: (/p)me (/cw)hisper (/o)oc (/s)hout /low (/b) (/f)action /me /do /togooc /tognews /togfam /togpm /togphone");
SendClientMessage(playerid, COLOR_GRAD4,":: BANKA :: /balance /withdraw /deposit /wiretransfer /bwithdraw /bdeposit /bbank /bhelp");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
  SendClientMessage(playerid, COLOR_YELLOW2, ":: POLICIJA :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted (/cu)ff (/ta)zer /undercover /backup(/bk)");
SendClientMessage(playerid, COLOR_YELLOW2, ":: POLICIJA :: /frisk /friskinv /take /ticket (/gov)ernment /deliver /ram /swat /authorizeswat /deauthorizeswat /drag /copuntie");
SendClientMessage(playerid, COLOR_YELLOW2, ":: POLICIJA :: /backupclear(/bkc) /roadblock(/rb) /roadunblock(/rrb) /roadunblockall(/rrball) /showbadge /tracelastcall(/tlc) /weplicense /gateopen");
  }
  if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
{
  SendClientMessage(playerid, COLOR_YELLOW2, ":: FBI :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted (/cu)ff (/ta)zer /agent /showid /friskinv");
SendClientMessage(playerid, COLOR_YELLOW2, ":: FBI :: /frisk /take /ticket (/gov)ernment /deliver /ram /drag /copuntie /authorizetactical /deauthorizetactical /tactical /gateopen");
  }
  if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
  SendClientMessage(playerid, COLOR_YELLOW2, ":: VOJSKA :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /wanted (/cu)ff (/ta)zer");
SendClientMessage(playerid, COLOR_YELLOW2, ":: VOJSKA :: /frisk /friskinv /take /ticket (/gov)ernment /deliver /ram /drag /copuntie /gateopen");
  }
           if(PlayerInfo[playerid][pJob] == 1) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /find"); }
   else if(PlayerInfo[playerid][pJob] == 2) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /free"); }
   else if(PlayerInfo[playerid][pJob] == 3) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /sex"); }
   else if(PlayerInfo[playerid][pJob] == 4) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /selldrugs"); }
   else if(PlayerInfo[playerid][pJob] == 5) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /dropcar"); }
   else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /paper /papers /live /news [text]"); }
   else if(PlayerInfo[playerid][pJob] == 7) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /repair /refill /duty"); }
   else if(PlayerInfo[playerid][pJob] == 8) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /guard"); }
   else if(PlayerInfo[playerid][pJob] == 9) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /sellgun"); }
   else if(PlayerInfo[playerid][pJob] == 10) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /sellcar"); }
   else if(PlayerInfo[playerid][pJob] == 11) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /heal"); }
   else if(PlayerInfo[playerid][pJob] == 12) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /fight /boxstats"); }
   else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 14) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /fare"); }
   else if(PlayerInfo[playerid][pJob] == 15) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /papers /bring /deliver"); }
   else if(PlayerInfo[playerid][pJob] == 16) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /buyprods /sellprods /load"); }
   else if(PlayerInfo[playerid][pJob] == 17) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /duty /sellpizza"); }
   else if(PlayerInfo[playerid][pJob] == 18) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /startharvest /stopharvest"); }
   else if(PlayerInfo[playerid][pJob] == 19) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /startdrugharvest /stopdrugharvest"); }
   else if(PlayerInfo[playerid][pJob] == 20) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /smuggledrugs /selldrugsto"); }
   else if(PlayerInfo[playerid][pJob] == 21) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /startsweep /stopsweep"); }
   else if(PlayerInfo[playerid][pJob] == 22) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /smugglemats"); }
   else if(PlayerInfo[playerid][pJob] == 23) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: POSAO :: /creategun /buymats"); }
           else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
   SendClientMessage(playerid,COLOR_YELLOW2,":: HITMAN :: /portable"); }
if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid, COLOR_YELLOW2, ":: HITNA POMOC :: (/r)adio (/d)epartments /heal /duty /tracelastcall(/tlc)");
}
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, COLOR_YELLOW, ":: ADMIN :: (/a)dmin (/ah)elp");
}
SendClientMessage(playerid, COLOR_GRAD6,":: OSTALO :: /cellphonehelp /househelp /notehelp /vehiclehelp /renthelp /businesshelp /leaderhelp /fishhelp /cookhelp /irchelp");
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):/

EDIT: Da bude ovaj dialog DIALOG_STYLE_MSGBOX
Poslednja Izmena: Mart 16, 2011, 19:02:44 POSLE PODNE od Monk bg

Ovaj forum postoji da se NAUCI nesto a ne da se TRAZI nesto servirano na tacnu... Bez muke nema nauke :D

Pa ja trazim da mi neko pomogne da napravim komandu /help u dialogu,ne trazim sve serverano,kako drugacije mogu da mi pomognu ako im ne dam celu komandu pa mi nameste ili da mi daju primer..


Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:15:21 POSLE PODNE
Evo na tacnu :D
http://balkan-samp.com/forum/index.php?topic=21381.0
Jel ti trebaju naocare,kupicu ti jedne ok?

1-U toj temi je prikazano za stats-e a ja trazim za komande!
2-Ako nisi primetio TEMA JE ZAKLJUCANA!

Ajde nek kaze neko,hitno mi treba..

Citat: Monk bg poslato Mart 16, 2011, 19:22:03 POSLE PODNE
Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:15:21 POSLE PODNE
Evo na tacnu :D
http://balkan-samp.com/forum/index.php?topic=21381.0
Jel ti trebaju naocare,kupicu ti jedne ok?

1-U toj temi je prikazano za stats-e a ja trazim za komande!
2-Ako nisi primetio TEMA JE ZAKLJUCANA!

Ajde nek kaze neko,hitno mi treba..

Koja je razlika? ako nije problem da mi objasnis...

EDIT:

Citat: eXtreme poslato Mart 16, 2011, 19:24:20 POSLE PODNE
Pa jer tebi trebaju naocare u svojom prvom postu si trazio neku semu pa eto ti seme  :-\
to to extreme reci ti njemu :D :D
Poslednja Izmena: Mart 16, 2011, 19:26:08 POSLE PODNE od [ЯPF] K4Я!K3

Pa jer tebi trebaju naocare u svojom prvom postu si trazio neku semu pa eto ti seme  :-\

Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:24:10 POSLE PODNE
Citat: Monk bg poslato Mart 16, 2011, 19:22:03 POSLE PODNE
Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:15:21 POSLE PODNE
Evo na tacnu :D
http://balkan-samp.com/forum/index.php?topic=21381.0
Jel ti trebaju naocare,kupicu ti jedne ok?

1-U toj temi je prikazano za stats-e a ja trazim za komande!
2-Ako nisi primetio TEMA JE ZAKLJUCANA!

Ajde nek kaze neko,hitno mi treba..

Koja je razlika? ako nije problem da mi objasnis...

EDIT:

Citat: eXtreme poslato Mart 16, 2011, 19:24:20 POSLE PODNE
Pa jer tebi trebaju naocare u svojom prvom postu si trazio neku semu pa eto ti seme  :-\
to to extreme reci ti njemu :D :D

Pa ne znam,ne mogu da se snadjem,nebi ja otvarao dzabe temu,napravio sam za /stats ali ne razumem kako za komandu /help.

Citat: Monk bg poslato Mart 16, 2011, 19:28:36 POSLE PODNE
Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:24:10 POSLE PODNE
Citat: Monk bg poslato Mart 16, 2011, 19:22:03 POSLE PODNE
Citat: [ЯPF]  K4Я!K3 poslato Mart 16, 2011, 19:15:21 POSLE PODNE
Evo na tacnu :D
http://balkan-samp.com/forum/index.php?topic=21381.0
Jel ti trebaju naocare,kupicu ti jedne ok?

1-U toj temi je prikazano za stats-e a ja trazim za komande!
2-Ako nisi primetio TEMA JE ZAKLJUCANA!

Ajde nek kaze neko,hitno mi treba..

Koja je razlika? ako nije problem da mi objasnis...

EDIT:

Citat: eXtreme poslato Mart 16, 2011, 19:24:20 POSLE PODNE
Pa jer tebi trebaju naocare u svojom prvom postu si trazio neku semu pa eto ti seme  :-\
to to extreme reci ti njemu :D :D

Pa ne znam,ne mogu da se snadjem,nebi ja otvarao dzabe temu,napravio sam za /stats ali ne razumem kako za komandu /help.

Pa ide ti isto i za help. Samo sto ti nece citati dali si hitman ili nesto, nego koji imas posao ili kaj vise se trazi.

I naravno, biti ce neki drugi text :P

Ne razumem samo kako da namestim na primer ako nije automehanicar da mu nepise kad ukuca /help a kad jeste,da mu pise...