[POMOC]Pitanje

Započeo Matrix_Green, Januar 14, 2012, 16:47:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta:CLRP
Problem:Evo mene zanima kako da stavim objekt evo npr. ona krava da ju stavim negdje i kada ju pogodis s puskom msm kad ju upucas da se prehiti,i nakon nekog vremena da se vrati natrag
Dio skripte:Nemam
Molim vas pomazite
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>

Nemoj se u to upustati ako neznas dosta dobro skriptati, inace moras koristiti camera vektore i svasta za to..
Aequam memento rebus in arduis servare mentem.

msm znam ja skriptati i to,sam sta nezz di da nadjem ako ima neki tutu ili nes ja cu ro sloziti...a jos jedno pitanje da ne otvaram temu novu kako da prebacim ovu komandu u dialog
if(strcmp(cmd, "/help", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_GRAD1,":: ACCOUNT :: /rules(pravila) /stats /account /changename /rules /information");
SendClientMessage(playerid, COLOR_GRAD1,":: GENERALNO :: /pay /charity /time /buy /unrentcar /unrentbike /switchkey /id /drink /clothes /doro /wo /knock /doorshout /resetspawn");
SendClientMessage(playerid, COLOR_GRAD2,":: GENERALNO :: /resetupgrades(50k) /buygun /lock /skill /licenses /showlicenses(/sl) /report /report /animlist /stopanim /fuel");
SendClientMessage(playerid, COLOR_GRAD2,":: GENERALNO :: (/re)port /cancel /accept /eject /usedrugs /contract /fill /admins (/f)actionlist /gps /chatmode /fightstyle");
SendClientMessage(playerid, COLOR_GRAD3,":: GENERALNO :: (/wi)ndows /coin /trunk (/inv)entory /knock /knockout /give /gateopen /sid /smoke /(sur)render /cophelp /spawnchange");
  SendClientMessage(playerid, COLOR_GRAD3,":: CHAT :: (/o)oc /me /(ad)vertise (/cw)hisper (/s)hout /(w)hisper (/b) /(l)ocal (/f)action /me /do /togfam /togpm /togphone");
  SendClientMessage(playerid, COLOR_GRAD3,":: OSTALO :: /GPS /SALON");
SendClientMessage(playerid, COLOR_GRAD4,":: BANK :: /balance /withdraw /deposit /wiretransfer /atm");
    if(PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14)
{
    SendClientMessage(playerid, COLOR_YELLOW2, ":: BowerBoys :: (/r)adio (/jap)aneese /steal");
    }
    if(PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15)
{
    SendClientMessage(playerid, COLOR_YELLOW2, ":: Lcn :: (/r)adio (/rus)sian");
    }
    if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 5)
{
    SendClientMessage(playerid, COLOR_YELLOW2, ":: Galacta :: (/r)adio (/spa)nish /steal");
    }
    if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 6)
{
    SendClientMessage(playerid, COLOR_YELLOW2, ":: Yakuza :: /gateopen /tuningopen (/r)adio /italian");
    }
            if(PlayerInfo[playerid][pJob] == 1) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Detektiv:: /find"); }
    else if(PlayerInfo[playerid][pJob] == 2) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Odvjetnik :: /free"); }
    else if(PlayerInfo[playerid][pJob] == 3) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Kurva :: /sex"); }
    else if(PlayerInfo[playerid][pJob] == 4) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Diler Droge :: /selldrugs /get drugs"); }
    else if(PlayerInfo[playerid][pJob] == 5) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Kradljivac vozila :: /dropcar"); }
    else if(PlayerInfo[playerid][pJob] == 6) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Konobar :: /showmenu /cookuniform"); }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Novinar :: /paper /papers /live /news [text]"); }
    else if(PlayerInfo[playerid][pJob] == 7) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Automehanicar :: /repair /refill /duty /tow /PARK"); }
    else if(PlayerInfo[playerid][pJob] == 8) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Zastitar :: /guard"); }
    else if(PlayerInfo[playerid][pJob] == 10) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Diler vozila :: /sellcar"); }
    else if(PlayerInfo[playerid][pJob] == 11) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Stuntman :: /startstunt /stopstunt"); }
    else if(PlayerInfo[playerid][pJob] == 12) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Boksac :: /fight /boxstats"); }
    else if(PlayerInfo[playerid][pJob] == 13 || PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Vozac Taxia :: /fare "); }
    else if(PlayerInfo[playerid][pJob] == 14) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Vozac Busa:: /fare"); }
    else if(PlayerInfo[playerid][pJob] == 15) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Raznosac novina :: /papers /bring /deliver"); }
    else if(PlayerInfo[playerid][pJob] == 16) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Kamiondjija :: /buyprods /sellprods /load"); }
    else if(PlayerInfo[playerid][pJob] == 17) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Pizza Boy :: /duty /sellpizza"); }
    else if(PlayerInfo[playerid][pJob] == 18) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Farmer :: /startharvest /stopharvest"); }
    else if(PlayerInfo[playerid][pJob] == 19) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Ilegalni Farmer :: /startdrugharvest /stopdrugharvest"); }
    else if(PlayerInfo[playerid][pJob] == 20) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Krijumcar Droge :: /smuggledrugs /selldrugsto"); }
    else if(PlayerInfo[playerid][pJob] == 21) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Cistac ulica :: /ciscenje /stopciscenje"); }
    else if(PlayerInfo[playerid][pJob] == 22) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Krijumcar materijala :: /smugglemats /sellmats"); }
    else if(PlayerInfo[playerid][pJob] == 23) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: JOB - Diler oruzja:: /creategun /buymats"); }
            else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
    SendClientMessage(playerid,COLOR_YELLOW2,":: HITMAN :: /portable"); }
    if(PlayerInfo[playerid][pMember] == 11||PlayerInfo[playerid][pLeader] == 11){
    SendClientMessage(playerid,COLOR_YELLOW2,":: Instruktor :: /startlesson /stoplesson /givelicense"); }

if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, COLOR_YELLOW, ":: ADMIN :: /admin or // (/ah)elp");
}
SendClientMessage(playerid, COLOR_GRAD6,":: OTHER :: /cellphonehelp /househelp /notehelp /vehiclehelp /renthelp /firmainfo /leaderhelp /fishhelp /cookhelp /irchelp /derbyhelp");
}
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] -> /help",d,m,y,h,mi,s,sendername);
CommandLog(string);
return 1;
}
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>

http://forum.sa-mp.com/showthread.php?p=937824 U ovom includeu imas puno stockova koje mozes iskoristiti za to :) pa onda vidi..

Po ovom drugom pitanju se vidi da NEZNAS skriptati kao sto si rekao prethodno da ZNAS.

http://wiki.sa-mp.com/wiki/ShowPlayerDialog

Iskoristi DIALOG_STYLE_MSGBOX
Aequam memento rebus in arduis servare mentem.