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.


Topics - Ankit

Pages: [1]
1
mIRC/pawn Scripting / Help?With Slap Command?
« on: February 14, 2012, 08:13:41 am »
Hello Guys I Have A Problem I Have Made A Slap Comamnd , But When I Type /c slap 0
then it Tells me Usage: /c slap (nick/id)
i dont know whats wrong please have a look
[pawn]else if ( strcmp( cmd, "slap", true ) == 0 )
   {
      new reason[ 256 ], plr, szMsg[ 128 ];
      tmp = 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]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
      else
      {
         format( szMsg, sizeof( szMsg ), "Admin %s Slapped player:[ %s ]", gPlayers[ playerid ], gPlayers[ plr ]);
         SendClientMessageToAll( COLOR_GREEN, szMsg );
         new Float:x,Float:y,Float:z,Float:health;
            GetPlayerPos(playerid,x,y,z);
            SetPlayerPos(playerid,x,y,z+5);
            health = GetPlayerHealth(playerid,health);
            SetPlayerHealth(playerid,health - 23);
         SetPlayerDrunk(plr,500 );
         SendClientMessage(plr,GREEN,"You Have Been Slapped By An Admin,Respawn To Get Rid Of It");
      }
      return 1;
   }[/pawn]

2
mIRC/pawn Scripting / Topic Removed
« on: November 06, 2011, 10:19:39 am »
Topic Removed

3
mIRC/pawn Scripting / Creating Objects?
« on: November 05, 2011, 04:10:34 pm »
Hi Guys I Have A Problem , I Want To Know How To Create Objects If Someone Knows it Please Help me As i have seen flying trees over houses in servers and airplanes also in mansion so i also thought to make a object like that but i cant get it in my mind that how to add it?> ???
so if someone can help me with that Please Reply

4
mIRC/pawn Scripting / I Want mIRC Windows Server
« on: November 02, 2011, 04:56:00 am »
I Want  mIRC Server For windows without any scripts in it i want to put the script by my side
i want a clean plain mIRC Server i cant find it anywhere at least you guys can help me

Pages: [1]