Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: BilGetS on February 06, 2012, 01:12:18 pm

Title: Give me please.
Post by: BilGetS on February 06, 2012, 01:12:18 pm
HI GUYS
      i want some commands of pawn script
/c nogoto

/c getip

/c report

!spree

!lms
!join

!hunt
plz give me :D
Title: Re: Give me please.
Post by: jimmy on February 06, 2012, 02:14:42 pm
Code: [Select]
else if ( strcmp( cmd, "nogoto", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c nogoto [on/off]" );
else
{
    if ( strcmp( tmp, "on", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Nogoto Enabled." );
PlayerInfo[ playerid ][ NoGoto ] = 1;
UpDateFile( USERS_FILE, gPlayers[ playerid ], "NoGoto", "1" );
}
else if ( strcmp( tmp, "off", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Nogoto Disabled." );
PlayerInfo[ playerid ][ NoGoto ] = 0;
UpDateFile( USERS_FILE, gPlayers[ playerid ], "NoGoto", "0" );
}
else SendClientMessage( playerid, COLOR_GREEN, "Syntax Error! USAGE: /c nogoto [on/off]" );
}
return 1;
}
this is nogoto cmd

Code: [Select]
else if ( strcmp( cmd, "!report", true ) == 0 )
{
        new tmp2[ 256 ], plr;
tmp = strtok( cmdtext, idx ), tmp2 = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
if ( !strlen(tmp2) ) SendClientMessage( playerid, GREEN, "USAGE: !report [Nick/ID] [Reason]" );
else
{
    if ( plr != INACTIVE_PLAYER_ID )
{
    new string[ 256 ];
format( szMsg, sizeof( szMsg ), "%s has been reported! Reason:[ %s ]", gPlayers[ plr ],tmp2);
SendClientMessage( playerid, COLOR_GREEN, szMsg );

format( string, 256, "ReportBy: %s ; Reason: %s", gPlayers[ playerid ], gPlayers[ plr ],tmp2);
dini_Set("/Reports/Reports.ini", gPlayers[ plr ], string );
}
else SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
}
return 1;
    }

this is report cmd

Code: [Select]
else if ( strcmp( cmd, "getip", true ) == 0 )
{
new plr; 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( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c getip [Nick/ID]" );
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
else
{
new szMsg[ 128 ], IP[ 24 ];
GetPlayerIp( plr, IP, 24 );

format( szMsg, 128, "%s's IP:[ %s ]", gPlayers[ plr ], IP );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}
return 1;
}

this is getip cmd

and my friend is making !spree cmd i will give u soon sorry for !report cmd i have !report cmd like this  :( and u can take !lms filterscript here http://forum.vicecitymultiplayer.com/index.php?topic=2551.msg18551#msg18551


i dont have !hunt cmd sorry :(
Title: Re: Give me please.
Post by: jimmy on February 06, 2012, 02:16:00 pm
Sorry but these Cmds are not mine CREDITS GOES TO GUPS MAKER AND MADARA
Title: Re: Give me please.
Post by: Innocent Heart on February 06, 2012, 02:30:03 pm
Nicee !
Title: Re: Give me please.
Post by: Morphine on February 06, 2012, 04:00:11 pm
Those commands won't work unless you work with GUPS, sorry to say. It'll take a bit more brain work than just copy pasting it.
Title: Re: Give me please.
Post by: BilGetS on February 06, 2012, 05:50:04 pm
HOW I ADD IT?
Title: Re: Give me please.
Post by: jimmy on February 06, 2012, 05:58:03 pm
bilgets u have to learn pawn language first ok
Title: Re: Give me please.
Post by: BilGetS on February 06, 2012, 06:32:41 pm
ok u is in facebook give me ur id i'll add u
Title: Re: Give me please.
Post by: jimmy on February 07, 2012, 06:04:58 am
this is my profile link in facebook http://www.facebook.com/profile.php?id=100001534346393
this is my id and name Azeem Hafeez id:- [email protected] ok add me if u not find me give me urs ;)