Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: jimmy on January 10, 2012, 01:44:55 pm

Title: i need !fight cmd
Post by: jimmy on January 10, 2012, 01:44:55 pm
guys i am scripting on GUPS and my server is too much better i need !fight cmd for my server can anyone give me??
Title: Re: i need !fight cmd
Post by: MaDKiLLeR on January 10, 2012, 02:18:07 pm
Have you ever tried to make something yourself?
Title: Re: i need !fight cmd
Post by: GANGSTER on January 10, 2012, 04:39:21 pm
I give you my !fight command take it  :P
Code: [Select]
else if ( strcmp( cmd, "!fight", true ) == 0 )
{
SetPlayerPos(playerid,-1766.81921,-137.94221,14.86832);
ResetPlayerWeapons(playerid),
SetPlayerWeapon(playerid, 21, 500 );
   format(szMsg, 128, "%s Is Enter In Fight Zone 1 For >>Some Action<<.",gPlayers[playerid]);
       SendClientMessageToAll( BLUE, szMsg );
return 1;
}
Title: Re: i need !fight cmd
Post by: jimmy on January 10, 2012, 04:54:13 pm
madkiller yar me new scripter hn mujhe asi chezein seekho gay tu mujhe scripting aai gi yar and thanks gangster
Title: Re: i need !fight cmd
Post by: Nadeem on January 11, 2012, 12:42:56 pm
omg Gangster you stole the signature on King
Title: Re: i need !fight cmd
Post by: SaFeeR on January 11, 2012, 01:03:29 pm
I give you my !fight command take it  :P
gangster i think this cmd is maded by me  ::)
Title: Re: i need !fight cmd
Post by: MaDKiLLeR on January 12, 2012, 10:10:50 am
I give you my !fight command take it  :P
gangster i think this cmd is maded by me  ::)
After reading your English:
Quote
format(szMsg, 128, "%s Is Enter In Fight Zone 1 For >>Some Action<<.",gPlayers[playerid]);
i can tell that it's made by you.  :P
Title: Re: i need !fight cmd
Post by: SaFeeR on January 12, 2012, 01:13:52 pm
After reading your English:
Quote
format(szMsg, 128, "%s Is Enter In Fight Zone 1 For >>Some Action<<.",gPlayers[playerid]);
i can tell that it's made by you.  :P
sorry this is made by me but he edit this :P
i made this
Code: [Select]
format( szMsg, 128, "%s Is Now In Fight Zone, Type !fight To Enter In Fight Zone",gPlayers[playerid] );
Title: Re: i need !fight cmd
Post by: jimmy on January 12, 2012, 06:05:03 pm
safeer your scripting is also nice
Title: Re: i need !fight cmd
Post by: RasikhQadeer on January 21, 2012, 07:11:16 am

   else if ( strcmp( cmd, "!fight", true ) == 0 )
   {
      SetPlayerPos( playerid, -1611.92639,-225.55259,14.86832,0,0);
      GivePlayerWeapon(playerid,21, 5000);
      GivePlayerWeapon(playerid,26, 5000);
      SendClientMessage(playerid,ORANGE,"=============>FIGHT<============";
return 1;
Title: Re: i need !fight cmd
Post by: Fuzzy168 on January 21, 2012, 07:18:46 am

   else if ( strcmp( cmd, "!fight", true ) == 0 )
   {
      SetPlayerPos( playerid, -1611.92639,-225.55259,14.86832,0,0);
      GivePlayerWeapon(playerid,21, 5000);
      GivePlayerWeapon(playerid,26, 5000);
      SendClientMessage(playerid,ORANGE,"=============>FIGHT<============";
return 1;

Fail..

Code: [Select]
else if ( strcmp( cmd, "!fight", true ) == 0 )
{
SetPlayerPos(playerid, -1611.92639 ,-225.55259, 14.86832, 0, 0);
GivePlayerWeapon(playerid, 21, 5000);
GivePlayerWeapon(playerid, 26, 5000);
SendClientMessage(playerid, ORANGE, "=============>FIGHT<============");//You missed the closing bracket
}//And the closing w/e this is called
return 1;//And there should be a tabbing

This may not be a perfect script because I'm fixing it with my knowledge not any Pawn Script.