26.01.2011, 12:39
Again me -.- Can somebody put this in Dialog for me or make tutorial how to put something in Dialog lol Thanks foward
Код:
if(strcmp(cmd, "/help", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GRAD1,"*** ACCOUNT *** /rules /login /stats /buylevel /upgrade"); SendClientMessage(playerid, COLOR_GRAD2,"*** GENERAL *** /pay /charity /time /buy /unrentcar /givekey /switchkey /id /drink /music /showlicenses /clothes"); SendClientMessage(playerid, COLOR_GRAD2,"*** GENERAL *** /resetupgrades(100k) /buygun /lock /skill /portable /licenses /lotto /spawnchange /stopani"); SendClientMessage(playerid, COLOR_GRAD2,"*** GENERAL *** /report /cancel /accept /eject /usedrugs /contract /fill /fillcar /clear /service /families"); SendClientMessage(playerid, COLOR_GRAD3,"*** CHAT *** (/w)hisper (/o)oc (/s)hout (/c)lose (/l)ocal (/b) (/ad)vertise (/f)amily /me /togooc /tognews /togfam /togwhisper /map /fuel"); SendClientMessage(playerid, COLOR_GRAD4,"*** BANK *** /balance /withdraw /deposit /wiretransfer"); if(PlayerInfo[playerid][pJob] == 1) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /find"); } else if(PlayerInfo[playerid][pJob] == 2) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /free"); } else if(PlayerInfo[playerid][pJob] == 3) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /sex"); } else if(PlayerInfo[playerid][pJob] == 4) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /selldrugs"); } else if(PlayerInfo[playerid][pJob] == 5) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /dropcar"); } else if(PlayerInfo[playerid][pMember] == 9) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /paper /papers /live /news [text]"); } else if(PlayerInfo[playerid][pJob] == 7) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /repair /refill /duty"); } else if(PlayerInfo[playerid][pJob] == 8) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /guard"); } else if(PlayerInfo[playerid][pJob] == 9) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /materials /sellgun"); } else if(PlayerInfo[playerid][pJob] == 10) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /sellcar"); } else if(PlayerInfo[playerid][pJob] == 12) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /fight /boxstats"); } else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 14) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /fare"); } else if(PlayerInfo[playerid][pJob] == 15) { SendClientMessage(playerid,COLOR_GRAD5,"*** JOB *** /papers /bring /deliver"); } if(PlayerInfo[playerid][pMember] == 11||PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 12||PlayerInfo[playerid][pLeader] == 12){ SendClientMessage(playerid,COLOR_GRAD5,"*** LESSON *** /startlesson /stoplesson /givelicense"); } if (gTeam[playerid] == 2) { SendClientMessage(playerid, COLOR_GRAD5, "*** SAPD *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer"); SendClientMessage(playerid, COLOR_GRAD5, "*** SAPD *** /frisk /take /ticket (/gov)ernment /deliver /camera /ram"); } if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { SendClientMessage(playerid, COLOR_GRAD5, "*** SAMD *** (/r)adio (/d)epartments /heal /duty"); } if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GRAD6, "*** ADMIN *** (/a)dmin (/ah)elp"); } SendClientMessage(playerid, COLOR_GRAD6,"*** OTHER *** /cellphonehelp /househelp /renthelp /businesshelp /leaderhelp /fishhelp /cookhelp /irchelp"); } return 1; }