[FILTERSKRIPTA] Baklja i CreatePickup by:Yuri Boyka (Ja)

Započeo Enver BagvoLL, Januar 17, 2013, 19:05:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Baklja -----------------------




Pancir -----------------------
Papagaj --------------------



Createpickup---------------









Ocjenite 1/10
poslje Filterskripta
Poslednja Izmena: Januar 17, 2013, 19:06:27 POSLE PODNE od Enver BagvoLL







Ovo je bila filterskripta ali sam ja napravijo paw



//==================================Create Pickup===============================//
   if(strcmp(cmd, "/createpickup", true) == 0)
   {
       if(IsPlayerConnected(playerid))
       {
         tmp = strtok(cmdtext, idx);
         if(!strlen(tmp))
         {
            SendClientMessage(playerid, COLOR_GRAD2, "Koristi: /createpickup [Model Id] [Tip]");
            SendClientMessage(playerid, COLOR_GREY, "HINT: | 1240 - Health | 1242 - Armour | 1241 - Ad Pill | 1247 - Bribe |");
            return 1;
         }
         new Float:X, Float:Y, Float:Z;
         GetPlayerPos(playerid, X,Y,Z);
            new model;
         model = strval(tmp);
         tmp = strtok(cmdtext, idx);
         if(!strlen(tmp))
         {
            SendClientMessage(playerid, COLOR_GRAD2, "Koristi: /createpickup [Model Id] [Tip]");
            SendClientMessage(playerid, COLOR_GREY, "HINT: | 1240 - Health | 1242 - Armour | 1241 - Ad Pill | 1247 - Bribe |");
            return 1;
         }
         new type;
         type = strval(tmp);
         if (PlayerInfo[playerid][pAdmin] >=1341)
         {
             if((model >= 1210 && model <= 1325) && (model >= 321 && model <= 372)) { SendClientMessage(playerid, COLOR_GRAD2, "HINT: Only Models above 1210, and below 1325; above 321 and below 373 are allowed!"); return 1; }
             if(type < 1 || type > 3) { SendClientMessage(playerid, COLOR_GRAD2, "HINT: Only Types: 1,2,3 Are allowed (Use Type 2 If you don't know them)"); return 1; }
            CreateDynamicPickup(model, type, X,Y,Z);
            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 has Created a Pickup at X:%f Y:%f Z:%f [Model: %d - Type: %d]",d,m,y,h,mi,s,sendername,X,Y,Z,model,type);
         }
         else
         {
            SendClientMessage(playerid, COLOR_GRAD1, "** Niste ovlasceni za koriscenje ove komande!");
         }
      }
      return 1;
   }
//=================================Objectsoff===================================//
if(strcmp(cmd, "/objectsoff", true) == 0)
    {
    for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
    {
    if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
    }
    return 1;
    }

//================================Komande:)=====================================//
if(strcmp(cmd, "/baklja", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 3, 3461, 6, 0.069429, 0.032604, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // tikitorch01_lvs - baklja
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi donator!");
    }
    return 1;
    }
     if(strcmp(cmd, "/torbasaparama", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 2, 1550, 1, -0.008714, -0.188819, -0.026564, 159.138153, 86.558647, 0.000000, 1.005565, 0.984468, 1.014210 ); // CJ_MONEY_BAG -
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/pancir", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 373, 1, 0.286601, -0.014752, -0.169651, 74.940216, 23.071197, 33.927280, 1.000000, 1.000000, 1.000000 ); // armour - pancir
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/dollar", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 1274, 1, 0.806575, 0.052928, 0.013146, 0.000000, 87.540878, 0.000000, 1.000000, 1.000000, 1.000000 ); // bigdollar - dolar
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/vatrenikostur", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 3524, 6, 0.100679, -0.061841, 2.545831, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // skullpillar01_lvs - vatrenikostur
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/potkovica", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 954, 1, 0.954922, 0.030687, 0.000000, 0.000000, 268.403228, 0.000000, 1.000000, 1.000000, 1.000000 ); // cj_horse_Shoe - potkovica
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/papagaj", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 19078, 1, 0.311434, -0.063826, -0.161611, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // TheParrot1 - papagaj
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/katana", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 339, 1, -0.248040, 0.000000, 0.178634, 88.912078, 172.776626, 5.334595, 1.000000, 1.000000, 1.000000 ); // katana - sablja
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/testera", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 341, 1, -0.340437, -0.203787, -0.068695, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // chnsaw - testera
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/drvo", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 674, 1, -1.193789, 0.051014, 0.099190, 0.000000, 90.430030, 0.000000, 1.000000, 1.000000, 1.000000 ); // sm_des_josh_lrg1 - drvo
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/vodokotlic", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 1211, 1, 0.916536, 0.012704, -0.003792, 0.000000, 89.479736, 0.000000, 1.000000, 1.000000, 1.000000 ); // fire_hydrant - vodokotlic
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/tabla", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 1233, 6, 0.085374, 0.030156, 1.154913, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // noparkingsign1 - tabla
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/nilskikonj", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 1371, 1, 0.177012, 0.000000, -0.008047, 0.000000, 89.795104, 182.353408, 1.000000, 1.000000, 1.000000 ); // CJ_HIPPO_BIN - nilski
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/pec", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 1777, 1, -0.455288, 0.122999, 0.000000, 0.000000, 90.075103, 177.894760, 1.000000, 1.000000, 1.000000 ); // CJ_COOKER1 - pec
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }
        if(strcmp(cmd, "/m4", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 356, 1, 0.222186, -0.146085, 0.085346, 0.000000, 151.341934, 0.000000, 1.000000, 1.000000, 1.000000 ); // m4 - m4
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }
    if(strcmp(cmd, "/ak47", true) == 0)
    {
   if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 355, 1, 0.253790, -0.141571, 0.094299, 0.000000, 155.042755, 0.000000, 1.000000, 1.000000, 1.000000 ); // ak47 - ak
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }

    if(strcmp(cmd, "/tec9l", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >=1)
    {
    SetPlayerAttachedObject( playerid, 0, 372, 7, -0.149622, 0.041156, -0.073983, 270.018768, 359.987884, 357.778808, 1.000000, 1.000000, 1.000000 ); // tec9 - tec
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Nisi VIP!");
    }
    return 1;
    }



9/10 Dobijas ali sumnjam da si ti ovo radio ti imas talenta samo da DM-as na NooBotu :DD xD
SA:MP-Bogdan_Crazy
Trazim negde server gde mogu da budem admin.Znam uredjivati forume i server.
Kontakt:
FB: www.facebook.com/jasamcrazy

Napredak moda Srbija-Express:
|||||||||||||||||||||||||||||||||||||


Svida mise panca 10/10 papagaj Ok 8/10 a baklja ima ih hi hi po frmma pa za nju 7/10

Veliki REP++++++ za ove momke:
[BC:RP] Mr.Gagi
Blaeks
ɴᴇʟʟʏâ,,¢