Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Javed Ahmadzai

Pages: [1]
1
VC:MP Clans / RPG KILLERS Clan Info
« on: October 21, 2012, 05:43:41 pm »






                                             Owner : Javed Ahmadzai
                                             Co-Owners : [RPG]_DON & [RPG]Hamza
                                             Country : International
                                             Clan Tags : [RPG]
                                             Webpage : www.RPG-KILLER.Forumur.com



                                                                           


                                                                                                             
                                                                                                          * [RPG]_DON
                                                                                                          * [RPG]Hamza
                                                                                                          * [RPG]Ahmed
                                                                                                          * [RPG]Criminal
                                                                                                          * [RPG]Hamza_khan
                                                                                                          * [RPG]Python
                                                                                                          * [RPG]DM_KING
                                                                                                          * [RPG]_Javed
                                                                                                          * [RPG]Abrarkhan
                                                                                                          * [RPG]Frog_
                                                                                                          * [RPG]Shikra_Psk


                     Total Members :11
__________________________________________________________________________________________________________________________

                                                                                     

                                                                       No One left or kicked


__________________________________________________________________________________________________________________________


2
Snippet Showroom / Best Respect system by Javed Ahmadzai (me)
« on: October 21, 2012, 11:30:19 am »
Hi,

     Its Respect system for player for dm servers

For a beginning

[pawn]#define Respect                 353[/pawn]

OnGameModint

[pawn]SetTimer("OnPlayerRespect",70000, true);[/pawn]

The Main part of the script (function)

[pawn]GetPlayerRespect(playerid)
{

   if(Kills[playerid]<10)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect:~w~1/+0");
   }
   else if(Kills[playerid]<35 && Kills[playerid]>=10)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect:~w~2/+1");
   }
   else if(Kills[playerid]<75 && Kills[playerid]>=35)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect:~w~3/+2");
   }
   else if(Kills[playerid]<150 && Kills[playerid]>=75)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect:~w~4/+2");
   }
   else if(Kills[playerid]<250 && Kills[playerid]>=150)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect:~w~5/+2");
   }
   else if(Kills[playerid]<450 && Kills[playerid]>= 250)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~6/+3");
   }
   else if(Kills[playerid]<675 && Kills[playerid]>= 450)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~7/+4");
   }
   else if(Kills[playerid]<1000 && Kills[playerid]>= 625)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~8/+5");
   }
   else if(Kills[playerid]<1500 && Kills[playerid]>= 1000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~9/+6");
   }
   else if(Kills[playerid]<3375 && Kills[playerid]>= 1500)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~10/+7");
   }
   else if(Kills[playerid]<3375 && Kills[playerid]>= 7650)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~11/+8");
   }
   else if(Kills[playerid]<7650 && Kills[playerid]>= 11475)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~12/+9");
   }
   else if(Kills[playerid]<11475 && Kills[playerid]>= 2650)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~13/+9");
   }
   else if(Kills[playerid]<26250 && Kills[playerid]>= 37500)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~14/+9");
   }
   else if(Kills[playerid]<37500 && Kills[playerid]>= 39375)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~15/+9");
   }
   else if(Kills[playerid]<39375 && Kills[playerid]>= 60000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~16/+9");
   }
   else if(Kills[playerid]<60000 && Kills[playerid]>= 100000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~25/+10");
   }
   else if(Kills[playerid]<100000 && Kills[playerid]>= 110000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~35/+10");
   }
   else if(Kills[playerid]<110000 && Kills[playerid]>= 120000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~50/+10");
   }
      else if(Kills[playerid]> 150000)
   {
   GameTextForPlayerBottom(playerid,"~o~Respect~x~=~y~100/+10");
   }
   return 1;
   
}

public OnPlayerRespect(playerid)
{
    for(new i = 0; i <= MAX_PLAYERS; i++) {
    if(IsPlayerConnected(i)) GetPlayerRespect(i);

   if(Kills<10)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~1/+0");
   }
   else if(Kills<35 && Kills>=10)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~2/+1");
   }
   else if(Kills<75 && Kills>=35)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~3/+2");
   }
   else if(Kills<150 && Kills>=75)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~4/+2");
   }
   else if(Kills<250 && Kills>=150)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~5/+2");
   }
   else if(Kills<450 && Kills>= 675)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~6/+2");
   }
   else if(Kills<675 && Kills>= 1000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~7/+3");
   }
   else if(Kills<1000 && Kills>= 1500)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~8/+4");
   }
   else if(Kills<1500 && Kills>= 2250)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~9/+5");
   }
   else if(Kills<2250 && Kills>= 3375)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~10/+6");
   }
   else if(Kills<3375 && Kills>= 5100)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~11/+7");
   }
   else if(Kills<5100 && Kills>= 7650)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~12/+8");
   }
   else if(Kills<7650 && Kills>= 11475)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~13/+9");                                                                                                                                                                 /*Scripted By Sufyan*/
   }
   else if(Kills<11475 && Kills>= 17500)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~14/+9");
   }
   else if(Kills<17500 && Kills>= 26250)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~15/+9");
   }
   else if(Kills<26250 && Kills>= 39375)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~16/+9");
   }
   else if(Kills<39375 && Kills>= 60000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~17/+9");
   }
   else if(Kills<60000 && Kills>= 100000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~25/+10");
   }
   else if(Kills< 100000 && Kills>= 110000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~35/+10");
   }
      else if(Kills< 110000 && Kills>= 120000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~50/+10");
      }
      else if(Kills> 150000)
   {
   GameTextForPlayerBottom(i,"~r~Respect:~w~100/+10");
   }
   }
   return 1;
}[/pawn]

Now for Player to see his respect

[pawn]   else if (strcmp(cmd, "!respect", true) == 0)
      {
          format(str,sizeof(str),"~r~Respect: ~w~%d",Kills[playerid]);
         GameTextForPlayerBottom(playerid,str);
         GetPlayerRespect(playerid);

         return 1;

    }[/pawn]

Sorry For My Bad English  :-\

3
mIRC/pawn Scripting / Re: pls help add package system help me
« on: October 21, 2012, 11:12:51 am »
try this bro, ;)

For  a Beginning

[pawn]#define JACK_WHITE 0xFFFFFFAA // Copypast to your pwn file[/pawn]

1st Step. To add pickup ( put in gamemod init )

[pawn]AddStaticPickup (1, 410, -442.8760, -315.8749, 11.1867); // Hidden Package[/pawn]

2nd Step. to make a function of the pickup

[pawn]public OnPickedUp(playerid,pickupid)
{
if ( pickupid == 1) // Function of 1st pickup
{
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 5000); // +5.000$ to the cash
SendClientMessage(playerid, JACK_WHITE, "You picked up hidden package! Award: 5000$");
}[/pawn]
 
U can add more pickup and can put pakeges functions like this one

Sorry For My English :(

Pages: [1]