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 - RasikhQadeer

Pages: [1] 2 3 4
1
mIRC/pawn Scripting / Re: Help?With Slap Command?
« on: February 15, 2012, 04:07:24 pm »
Anyway take this!

[pawn]}
   else if ( strcmp( cmd, "slap", true ) == 0 )
   {
      new reason[ 256 ], plr, szMsg[ 128 ];
      tmp = strtok( cmdtext, idx ), reason = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else if ( !strlen(reason) ) SendClientMessage( playerid, COLOR_RED, "USAGE: /c slap [Nick/ID] [Reason]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
      else
      {
          new Float:x, Float:y, Float:z;
          GetPlayerPos( plr, x, y, z );
         SetPlayerPos( plr, x+3, y+3, z+3, 0, 0 );
         format( szMsg, sizeof( szMsg ), "Admin %s slaped player:[ %s ] Reason:[ %s ]", gPlayers[ playerid ], gPlayers[ plr ], cmdtext[ strlen( tmp ) +6 ] );
         SendClientMessageToAll( COLOR_GREEN, szMsg );
         SetPlayerDrunk(playerid, 300, 300);
      }
      return 1;[/pawn]

2
mIRC/pawn Scripting / Re: Help?With Slap Command?
« on: February 14, 2012, 03:10:35 pm »
Ankit Use This In-Game To Slap That Player:

/c slap [Id] [Reason]. It Should Work ;)

3
mIRC/pawn Scripting / Re: Need Cmds
« on: February 13, 2012, 12:42:43 pm »
Jimmy i dont have a solution for that a point to ponder is that it gets the car again and again till you dont sit in it soo i think you should creat a new function :

[pawn]public OnExitVehicle
{
   RespawnVehicle(GetPlayerVehiceID(playerid);
}[/pawn]

Not Tested Just Giving An Example!

4
mIRC/pawn Scripting / Re: little problem => CLICK HERE <=
« on: February 11, 2012, 01:02:27 pm »
I think you have to define it 1 by 1 number to get the single playerid other wise like pickups new sp=0 and then sp++ we cant use a function to it that if pickup id == ?what sp++ then it will use the same function to all the opickups so i thin u have to define 1 by 1

5
mIRC/pawn Scripting / Re: Only Little Bit Help i want?
« on: February 10, 2012, 03:56:08 pm »
thanks shadow and fuzzy faizan i am sorry but i can not make a spree cmd and i dont wanna copy paste from warchiefs i will try making one on my own for gups so please wait or ask help from some big scripters!

6
mIRC/pawn Scripting / Re: Only Little Bit Help i want?
« on: February 09, 2012, 06:25:54 pm »
add this OnGameModeInitIt
[pawn]SetPlayerFriendlyFire False[/pawn]

7
mIRC/pawn Scripting / Re: Can anyone help on This?
« on: February 08, 2012, 05:05:00 pm »
So how many weps you want i have my wep system for example the number you put with !wep[number here] [and weps here] those number of weps you get if you want them then send me a pm ;) right now i give you 1 with 5 weps!

[pawn]}
   else if ( strcmp( cmd, "!wep5", true ) == 0 )
   {
       new tmp2[ 256 ], tmp3[ 256 ], tmp4[ 256 ], tmp5[ 256 ];
         tmp = strtok( cmdtext, idx ), tmp2 = strtok( cmdtext, idx ), tmp3 = strtok( cmdtext, idx ), tmp4 = strtok( cmdtext, idx ), tmp5 = strtok( cmdtext, idx );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
       else if ( !strlen( tmp5 ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !wep [weapon1]]" );
      else
      {
          new wep, wep2, wep3, wep4, wep5;
          wep = FindWepIDFromString( tmp );
          SetPlayerWeapon(playerid, wep, 99999);
            wep2 = FindWepIDFromString( tmp2 );
         SetPlayerWeapon(playerid, wep2, 99999);
         wep3 = FindWepIDFromString( tmp3 );
         SetPlayerWeapon(playerid, wep3, 99999);
         wep4 = FindWepIDFromString( tmp4 );
         SetPlayerWeapon(playerid, wep4, 99999);
         wep5 = FindWepIDFromString( tmp5 );
         SetPlayerWeapon(playerid, wep5, 99999);
         if(wep == 33)
         {
         SetPlayerWeapon(playerid,0,0);
         SendClientMessage(playerid,RED,"Error: THAT WEAPON NOT ALLOUD");
         }
         
      }
      return 1;[/pawn]

Note: in vcmp pawn dont have this function so you can only use this cmd for 5 weps only other wise it wont work you have to use this syntax !wep5 (<== change to what cmd text you want!) [wep1] [wep]2 [wep2] [wep4] [wep5] then you will get all the 5 weps

Good Luck!


8
mIRC/pawn Scripting / Re: need cmd !!!
« on: February 02, 2012, 07:04:17 pm »
I Dont know how can i help jimmy WFt

9
mIRC/pawn Scripting / Re: need cmd guys
« on: February 02, 2012, 01:24:18 pm »
Jimmy try hard fuzzy is right try ur self well i was not interested in it soo thats why never came to it but however TRY TRY AND ONLY TRY! ;)

10
mIRC/pawn Scripting / Re: need cmd !!!
« on: February 02, 2012, 01:22:28 pm »
lol i cant take the spre cmd from warchiefs it has soo many functions i it don know how to update for gups :-\

11
mIRC/pawn Scripting / Re: A little help here
« on: February 01, 2012, 10:54:21 am »
I also know that function but i dont want 4 or 5 messages at same time i want evey message 1 by 1 at a proper time :-\

12
mIRC/pawn Scripting / Re: need cmd guys
« on: February 01, 2012, 10:52:46 am »
i think it is not possible to do that on pawn :-\

13
mIRC/pawn Scripting / Re: A little help here
« on: January 31, 2012, 05:24:59 pm »
Ok can someone give em a hint for making it :-\

14
mIRC/pawn Scripting / Re: need cmds
« on: January 31, 2012, 02:27:06 pm »
rofls why dont u try it ur self zo0m try learning pawn so 1 day u can be PRO!

15
mIRC/pawn Scripting / Re: need help
« on: January 31, 2012, 02:26:04 pm »
well idk how to connect gus 9 BUT i never heared of gus 10 realeased :?

Pages: [1] 2 3 4