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

Pages: 1 2 [3] 4 5 6
31
Snippet Showroom / Duel System By [ME]
« on: December 16, 2013, 01:20:07 am »
Hi All I Created A Duel System!
Note : Changelog! 2twice!

Add This

Code: [Select]
new Duel[MAX_PLAYERS];
Add This CMDS
Code: [Select]
else if ( strcmp( cmd, "!duel", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"Teleporting To Duel! [ Prevent BugKills ]");
SetTimer("Duels", 5000, 0);
Duel[playerid] = 1;
TogglePlayerControllable(playerid, 0);
 return 1;
}
else if ( strcmp( cmd, "!exit", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"Teleporting To Exit! [ Prevent BugKills ]");
SetTimer("Exit", 5000, 0);
Duel[playerid] = 0;
TogglePlayerControllable(playerid, 0);
 return 1;
}

Now The Publics & Timers

Code: [Select]
public Duels() {
    for(new i = 0; i < MAX_PLAYERS; i++)
        if(IsPlayerConnected(i)) {
       if(Duel[i] == 1) {
SendClientMessage(i, COLOR_RED, " You Have Been Sent To Duel ");
 SetPlayerPos(i,-1759.4911 ,-135.6824 ,14.8683,0,0);
 TogglePlayerControllable(i, 1);
 }
 }
 }
public Exit() {
    for(new i = 0; i < MAX_PLAYERS; i++)
        if(IsPlayerConnected(i)) {
       if(Duel[i] == 0) {
SendClientMessage(i, COLOR_RED, " You Have Been Exited ");
 SetPlayerPos(i,-818.3429 ,-355.2299 ,10.7040,0,0);
 TogglePlayerControllable(i, 1);
 }
 }
 }

Howz This!

Rate My Post Its All By me!

Also PM Me If You Liked It!

32
Hi All I Created A New Kind In VCMP

+ Weapon System & Weapon Stats

nOte The Changelog!
!

Limits For Rocket, Minigun & Spaz

Peoples Abuses Spaz!
To Prevent It !

Peoples Can,t Use Mini
To Enable Using Them Only FOr 10 Times
Means Now You Dont Need To Delete Mini

Peoples Also Abuses ROcket
To Prevent Abusing!

i Created This System
Its Also A Gun System Too!

Here Is It!

At The Beggining
Code: [Select]
new HaveStubby[MAX_PLAYERS];
new HaveIngram[MAX_PLAYERS];
new HaveM4[MAX_PLAYERS];
new HaveM60[MAX_PLAYERS];
new HaveSniper[MAX_PLAYERS];
new HaveGrenade[MAX_PLAYERS];
new HaveDetonator[MAX_PLAYERS];
new HavePython[MAX_PLAYERS];
new HaveFlame[MAX_PLAYERS];
new HaveKatana[MAX_PLAYERS];
new HaveKnife[MAX_PLAYERS];
new HaveMini[MAX_PLAYERS];
new HaveSpaz[MAX_PLAYERS];
new HaveRocket[MAX_PLAYERS];
new MiniLimits[MAX_PLAYERS];
new RocketLimits[MAX_PLAYERS];
new SpazLimits[MAX_PLAYERS];


If You Want To Finish Spaz,ROcket,Mini Limits When Player Left The Server Add This Also
Put It On OnPlayerConnect

Code: [Select]
SpazLimits[playerid] = 0;
RocketLimits[playerid] = 0;
MiniLimits[playerid] = 0;

Put This In OnPlayerDeath!

Code: [Select]
HaveMini[playerid] = 0;
HaveSniper[playerid] = 0;
HaveRocket[playerid] = 0;
HaveM60[playerid] = 0;
HaveM4[playerid] = 0;
HaveKatana[playerid] = 0;
HavePython[playerid] = 0;
HaveStubby[playerid] = 0;
HaveSpaz[playerid] = 0;
HaveKnife[playerid] = 0;
HaveGrenade[playerid] = 0;
HavePython[playerid] = 0;
HaveFlame[playerid] = 0;

Put This In OnPlayerSpawn

Code: [Select]
new sz[124];
if (HaveMini[killerid] == 1) {
format(sz, sizeof(sz)," Mini Have A Limit : %d ", MiniLimits[killerid]);
SendClientMessage(playerid,COLOR_RED,sz);
MiniLimits[killerid]++;
}
if (HaveSpaz[killerid] == 1) {
format(sz, sizeof(sz)," Spaz Have A Limits : %d ", SpazLimits[killerid]);
SendClientMessage(playerid,COLOR_RED,sz);
SpazLimits[killerid]++;
}
if (HaveRocket[killerid] == 1) {
format(sz, sizeof(sz)," Rockets Have A Limit : %d ", RocketLimits[killerid]);
SendClientMessage(playerid,COLOR_RED,sz);
RocketLimits[killerid]++;
}
if (MiniLimits[killerid] == 10) {
SetPlayerHealth(killerid, 0);
SendClientMessage(killerid,COLOR_RED," Your Limits Are Over ");
}
if (SpazLimits[killerid] == 10) {
SetPlayerHealth(killerid, 0);
SendClientMessage(killerid,COLOR_RED," Your Limits Are Over ");
}
if (RocketLimits[killerid] == 10) {
SetPlayerHealth(killerid, 0);
SendClientMessage(killerid,COLOR_RED," Your Limits Are Over ");
}

Now CMD

put this in onplayertext
Code: [Select]
else if ( strcmp( cmd, "!wep", true ) == 0 ) {
tmp = strtok( cmdtext, idx );
if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !wep spaz / m60 / stubby / ingram / Rocket / Flame / Sniper / M4 / Grenade / Python / Detoantor / Katana / Knife" );
else
  {
if ( strcmp( tmp, "Spaz", true ) == 0 ) {
 if (SpazLimits[playerid] == 10) {
SendClientMessage(playerid,COLOR_RED, " Your Spaz Limits Are Over ");
}
else {
HaveSpaz[playerid] = 1;
SetPlayerWeapon(playerid, 20, 99999);
}
}
 else if ( strcmp( tmp, "Rocket", true ) == 0 ) {
 if (RocketLimits[playerid] == 10) {
SendClientMessage(playerid,COLOR_RED, " Your Rocket Limits Are Over ");
}
else {
 HaveRocket[playerid] = 1;
SetPlayerWeapon(playerid, 30, 99999);
  }
  }
 else if ( strcmp( tmp, "Mini", true ) == 0 ) {
 if (MiniLimits[playerid] == 10) {
  SendClientMessage(playerid,COLOR_RED, " Your Mini Limits Are Over ");
  }
  else {
 HaveMini[playerid] = 1;
SetPlayerWeapon(playerid, 33, 99999);
}
}
else if( strcmp( tmp , "m60", true ) == 0 ) {
SetPlayerWeapon(playerid, 32, 99999);
HaveM60[playerid] = 1;
}
else if( strcmp( tmp , "flame", true ) == 0 ) {
SetPlayerWeapon(playerid, 31, 99999);
HaveFlame[playerid] = 1;
}
else if( strcmp( tmp , "sniper", true ) == 0 ) {
SetPlayerWeapon(playerid, 38, 99999);
HaveSniper[playerid] = 1;
}
else if( strcmp( tmp , "m4", true ) == 0 ) {
SetPlayerWeapon(playerid, 27, 99999);
HaveM4[playerid]=1;
}
else if( strcmp( tmp , "ingram", true ) == 0 ) {
SetPlayerWeapon(playerid, 24, 99999);
HaveIngram[playerid]=1;
}
else if( strcmp( tmp , "Stubby", true ) == 0 ) {
SetPlayerWeapon(playerid, 21, 99999);
HaveStubby[playerid]=1;
}
else if( strcmp( tmp , "bb", true ) == 0 ) {
SetPlayerWeapon(playerid, 21, 99999);
HaveStubby[playerid]=1;
}
else if( strcmp( tmp , "Python", true ) == 0 ) {
SetPlayerWeapon(playerid, 18, 99999);
HavePython[playerid]=1;
}
else if( strcmp( tmp , "detonator", true ) == 0 ) {
SetPlayerWeapon(playerid, 13, 99999);
HaveDetonator[playerid]=1;
}
else if( strcmp( tmp , "grenade", true ) == 0 ) {
SetPlayerWeapon(playerid, 12, 99999);
HaveGrenade[playerid]=1;
}
else if( strcmp( tmp , "katana", true ) == 0 ) {
SetPlayerWeapon(playerid, 10, 99999);
HaveKatana[playerid]=1;
}
else if( strcmp( tmp , "knife", true ) == 0 ) {
SetPlayerWeapon(playerid, 5, 99999);
HaveKnife[playerid]=1;
}
}

return 1;
}

Now Put This In Onplayercommandtext

Code: [Select]
else if ( strcmp( cmd, "wstats", true ) == 0 )
{
new plr;
plr = FindPlayerIDFromString( tmp );
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_RED, "USAGE: /c wstats [playerid]" );
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
else {
new m60, m4, mini, roc, py, ing, fla, spaz, bb, deto, kni, gre, sni, kat;
format( file, sizeof( file ), USERS_FILE, gPlayers[ plr ] );
new szMsg[222];
new sz[222];
new sz2[222];
m60 = dini_Int(file,"M60"); //
m4 = dini_Int(file,"M4"); //
spaz = dini_Int(file,"Spaz"); //
bb = dini_Int(file,"Stubby"); //
mini = dini_Int(file,"Mini");
roc = dini_Int(file,"Rocket");
fla = dini_Int(file,"Flame");
kat = dini_Int(file,"Katana");
kni = dini_Int(file,"Knife"); //
deto = dini_Int(file,"Detonator"); //
gre = dini_Int(file,"Grenade");
py = dini_Int(file,"Python"); //
ing = dini_Int(file,"Ingram"); //
sni = dini_Int(file,"Sniper"); //
format( szMsg, 222, "[ %s ] Stats Spaz[ %d ] Stubby [ %d ] Detonator [ %d ] Ingrams [ %d ] Sniper [ %d ]", gPlayers[ plr ], spaz, bb, deto, ing, sni  );
SendClientMessageToAll(COLOR_GREEN, szMsg );
format( sz, 222, "Python[ %d ] M60 [ %d ] M4 [ %d ] Knife [ %d ] Katana [ %d ]", py, m60, m4, kni, kat  );
SendClientMessageToAll(COLOR_GREEN, sz );
format( sz2, 222, "Grenades[ %d ] Flames [ %d ] Rockets [ %d ] Mini [ %d ]", gre, fla, roc, mini );
SendClientMessageToAll(COLOR_GREEN, sz2 );
   }
return 1;
}

Now Publics

Code: [Select]
public IncStatsM60( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new m60; m60 = dini_Int( file, "M60" );
dini_IntSet( file, "M60", m60 +Amount);
return m60;
}
 public IncStatsSpaz( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new spaz; spaz = dini_Int( file, "Spaz" );
dini_IntSet( file, "Spaz", spaz +Amount);
return spaz;
}
 public IncStatsM4( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new m4; m4 = dini_Int( file, "M4" );
dini_IntSet( file, "M4", m4 +Amount);
return m4;
}
 public IncStatsPython( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new py; py = dini_Int( file, "Python" );
dini_IntSet( file, "Python", py +Amount);
return py;
}
 public IncStatsKatana( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new katana; katana = dini_Int( file, "Katana" );
dini_IntSet( file, "Katana", katana +Amount);
return katana;
}
 public IncStatsKnife( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new knife; knife = dini_Int( file, "Knife" );
dini_IntSet( file, "Knife", knife +Amount);
return knife;
}
 public IncStatsStubby( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new bb; bb = dini_Int( file, "Stubby" );
dini_IntSet( file, "Stubby", bb +Amount);
return bb;
}
 public IncStatsMini( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new mini; mini = dini_Int( file, "Mini" );
dini_IntSet( file, "Mini", mini +Amount);
return mini;
}
 public IncStatsRocket( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new rocket; rocket = dini_Int( file, "Rocket" );
dini_IntSet( file, "Rocket", rocket +Amount);
return rocket;
}
 public IncStatsDetonator( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new deto; deto = dini_Int( file, "Detonator" );
dini_IntSet( file, "Detonator", deto +Amount);
return deto;
}
 public IncStatsGrenade( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new gre; gre = dini_Int( file, "Grenade" );
dini_IntSet( file, "Grenade", gre +Amount);
return gre;
}
 public IncStatsFlame( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new fla; fla = dini_Int( file, "Flame" );
dini_IntSet( file, "Flame", fla +Amount);
return fla;
}
 public IncStatsSniper( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new sni; sni = dini_Int( file, "Sniper" );
dini_IntSet( file, "Sniper", sni +Amount);
return sni;
}
 public IncStatsIngram( playerid,Amount)
{
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new sni; sni = dini_Int( file, "Ingram" );
dini_IntSet( file, "Ingram", sni +Amount);
return sni;
}




CREDITS : All By Me!
Benefits Of This : Prevent Abuses!
You Can Pm Me If You Like It! Thanks!

Note : Saw A Bug Report Now! & Rate My Post Also!







33
Snippet Showroom / Spawnloc [ First Time Introduce In Pawn ]
« on: December 11, 2013, 01:01:34 am »
Beggining
Code: [Select]
new SpawnLoc[MAX_PLAYERS];
In OnPlayerSpawn

Code: [Select]
if (SpawnLoc[playerid] == 1) {
     new splitx[ 3 ][ 128 ], szMsg[128];
    format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
    split( dini_Get( file, "SpawnLoc" ), splitx, ' ' );
    SetPlayerPos( playerid, floatstr( splitx[ 0 ] ), floatstr( splitx[ 1 ] ), floatstr( splitx[ 2 ] ), 0, 0 );
    format( szMsg, sizeof( szMsg ), "Teleporting to SavedLocation" );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}

Now Commands

Code: [Select]
    else if ( strcmp( cmd, "spawnlocset", true ) == 0 )
{
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else
{
new szMsg[ 128 ], axcont[ 128 ], Float:x, Float:y, Float:z;
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );

  GetPlayerPos( playerid, x, y, z );

  format( axcont, 128, "%.5f %.5f %.5f", x, y, z );

dini_Create( file );
dini_Set( file, "Spawnloc", axcont );
   
SpawnLoc[playerid] = 1;   
   
format( szMsg, sizeof( szMsg ), "New Spawnloc Saved");
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}
return 1;
    }
 else if ( strcmp( cmd, "spawnlocoff", true ) == 0 )
 {
 SpawnLoc[playerid] = 0;
 SendClientMessage(playerid,COLOR_RED," Your SpawnLoc Is Offline ");
 return 1;
 } 

Credits : Tutorial Of Gups & 70 % By Me!
I Hope You Like It!
Please Comment!
+1 If You Like it!

34
mIRC/pawn Scripting / Please Someone Give Me Warcheif
« on: December 09, 2013, 07:58:04 pm »
Please Someone Give Me Warcheif
Please

Please

i need Some Functions!

Of It!

Please
.Thanks

35
Servers / New Server [ Dhoom 3 ] Grand Opening!
« on: December 09, 2013, 06:00:34 pm »
Server Name : [R2x] Dhoom 3 [ Grand Opening ]
IP : New Everyday On r2xgangofficial.tk
forum : r2xgangofficial.tk
Admins ; Sevrin ( Lvl 3 ) , Gemini ( Level 10 ) , BubbleBoY ( Level 7 )
Features
Be Right Back Protections

A Player Write Brb And He WIll Be Freezed If Someones Come And Kill Him He Will Be Killed. He Kills A Same Persion On BRB He WIll Be Kicked
After Back You will Be Unfreezed


Contact System

Online Contact System Added

Clan Registerations With ClanWar

You Can Register Your Clan In Server For Free!

Duel System

!duel & !leave Cmds For Duel

SpawnWep System

!weppack 1/2/3/4/5
!wepinfo

SpeedoMeter System

/c khp to show your speedo

Plant Bomb System

Plant A Bomb On Someonex Vehicile with /c plantbomb when you are in vehicle
Buy A Bomb With /c Buybomb . You need 3000 To Buy A Bomb

Robbery Systems

You Can RobBank With 2 Ways

1) You Can Find The BOmb To Robbank
2) You Can Find The Keycard To Robbank

You Can Also Rob Mansion,BoatYard,SHip,Bikers Etc!

Limit To Rocket & Heli Kills

Auto-Jail Unjail Systems

COP System

Auto - Messages

Anti-Hacks

Anti-Vehicle-Killer

CMDS

/c register, || Helps You Register At Server
 /c login, || Login Simple CMD
 /c logout, || Logout
 /c setpassword || Set A New Password
 /c setstats, || Setstats To be Shown to others Or Not
 /c setgoto, || Its Like Nogoto
 /c setloc || Peoples Will Shows Your !loc
 /c forum, || Forum CMD
/c khp,  || SpeedoMeter CMDS
/c buybomb, || Buy A Bomb To Plant In Vehicle
/c plantbomb || Plant A Bomb In Vehicle
!contactinfo,  || Contact Info Of Owner
!facebook,  || Contact On Fb
!skype,  || Contact On Skype
!credits,  || Credits
!duel, || Duel CMD Helps In Duel
!weppack 1, || SpawnWeps Pack1
 !weppack 2,  || Pack 2
!weppack 3, || Pack 3
 !weppack 4,  || Pack 4
!wepinfo, || Wep Info
 !leave || Leave A Duel
!hp,  || Shows Your Hp
!armour,  || Shows Your Armour
!wep,  || Wep CMD
!radaroff, || RadarOff Will Not Show On Map Anymore
 !stats,  || Shows Your Stats
 !level,  || Shows Your Level Of Admin
!cash, || Shows Your Cash
 !ping, || Your Pings
 !goto,  |\ Goto A Player
!heal, || Helps You heal
 !loc,  || Shows Your Loc
!admins, || Shows All Admins
 !skin,  || Tells Your Skin
!version, || Your Version
 !cd,  || Count Down CMD
!report |\ To Report A Hacker

36
Snippet Showroom / Cheats Codes For Multiplayer [ By me ]
« on: December 09, 2013, 12:14:32 pm »
Code: [Select]
else if ( strcmp( cmd, "!nuttertools", true ) == 0 )
{
SetPlayerWeapon(playerid,18);
SetPlayerWeapon(playerid,20);
SetPlayerWeapon(playerid,24);
SetPlayerWeapon(playerid,26);
SetPlayerWeapon(playerid,29);
SetPlayerWeapon(playerid,32);
return 1;
}
Code: [Select]
else if ( strcmp( cmd, "!thugstools", true ) == 0 )
{
SetPlayerWeapon(playerid,17);
SetPlayerWeapon(playerid,21);
SetPlayerWeapon(playerid,25);
SetPlayerWeapon(playerid,27);
SetPlayerWeapon(playerid,28);
SetPlayerWeapon(playerid,31);
return 1;
}
Code: [Select]
else if ( strcmp( cmd, "!godemode", true ) == 0 )
{
EnableStuntBike(1);
EnableShootInAir(1);
FastSwitch(1);
JumpSwitch(1);
SetGravity(8); // Will Gives You Flying Power
SetPlayerWeapon(playerid,33); // MiniGun
SetPlayerArmour(playerid,200); // Its Not Really Turned 200 LOL
return 1;
}

37
Snippet Showroom / Anti-Spawn Killing [ Full By me ] [ Tested ]
« on: December 09, 2013, 12:05:17 pm »
On The Top

Code: [Select]
new AntiSpawn[MAX_PLAYERS];
On The Spawn

Code: [Select]
AntiSpawn[playerid] = 1;
SetTimer("SpawnKilling", 5000, 0);
GameTextForPlayer(playerid," Spawn Protection ");

On OnPlayerDeath

Code: [Select]
if (AntiSpawn[playerid] == 1) {
SetPlayerHealth(killerid, 0);
SendClientMessage(killerid, COLOR_RED, " [Auto-Kill] Reason SpawnKilling ");
}

Now The Public

Code: [Select]
public SpawnKilling() {
    for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i)) {
       if(AntiSpawn[i] == 1) {
           SendClientMessage(i,COLOR_YELLOW,"Spawn Protection Offline!!");
AntiSpawn[i] = 0;
      }
  }
  }
return 1;
}

SaW A BuGG RePoRt It NoW

Credits All By Me

Please Rate It!
Out Of 10






38
Servers / [R2x] Cops And Robbers 2
« on: December 05, 2013, 01:27:53 pm »
HostName: [r2] Vice City Cops and Robbers _302_ hosting
Address:  5.175.143.86:5192
Players:  0 / 50
Ping:     321
Mode:     VCCNR SQ v0.1
Map:      Vice-City

Admins
[TGR_r]Warior.x
R2x.ShohaibBhai / R2x.Gemini / R2x.Sagiterius

Features
Jobs
Cops , RObbers, Medical, Kidnapper, Hitman, Property, Vehicle,
DM! , DUel System!, Ladder, Archeivemnt Of The Day!

HostName: [R2]ViceCity Cops And Robbers DM Addition _302_ hosting
Address:  5.175.143.86:5194
Players:  0 / 30
Ping:     331
Mode:     VCCNR SQ v2.0
Map:      Vice-City

Same As 1st

       

39
General Discussion / domain for this forum
« on: April 30, 2013, 12:21:57 am »
gtavcmpforum.tk

here i add a domain for this site easy one

40
Snippet Showroom / Pac Register Auto And SPawnwep
« on: April 20, 2013, 10:33:08 am »
Removed
-stormeus

41
ShowRoom (pawn) / Reset,Transfer, Inc And Dec Stats By ME (GUPS)
« on: April 10, 2013, 07:59:23 am »
[pawn]   /// == RESET , == INCREASE, == DECREASE == OR == TRANSFER == STATS == CMDS ===
   else if ( strcmp( cmd, "resetstats", true ) == 0 )
   {
      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_RED, "USAGE: /c resetstats [Nick/ID]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
        else if ( !IsPlayerRegistered(gPlayers[ plr ] ) )
      {
         format( szMsg, sizeof( szMsg ), "Error: %s is not a registered nick.", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ plr ] );
         dini_IntSet( file, "Deaths", 0 );
         dini_IntSet( file, "Kills", 0 );
         format( szMsg, sizeof( szMsg ), "%s's stats reseted.", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      return 1;
   }
      else if ( strcmp( cmd, "inckills", true ) == 0 )
   {
      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_RED, "USAGE: /c inckills [Nick/ID]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
        else if ( !IsPlayerRegistered(gPlayers[ plr ] ) )
      {
         format( szMsg, sizeof( szMsg ), "Error: %s is not a registered nick.", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      else
      {
         IncPlayerDeaths( plr, 0 );
         IncPlayerKills( plr, 1000 );
         format( szMsg, sizeof( szMsg ), "%s's stats Setted", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      return 1;
   }
         else if ( strcmp( cmd, "deckills", true ) == 0 )
   {
      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_RED, "USAGE: /c deckills [Nick/ID]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
        else if ( !IsPlayerRegistered(gPlayers[ plr ] ) )
      {
         format( szMsg, sizeof( szMsg ), "Error: %s is not a registered nick.", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      else
      {
         IncPlayerDeaths( plr, 1000 );
         IncPlayerKills( plr, 0 );
         format( szMsg, sizeof( szMsg ), "%s's stats Setted", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      return 1;
   }
      else if ( strcmp( cmd, "transferstats", true ) == 0 )
   {
   new plr2;
      tmp = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
      plr2 = 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_RED, "USAGE: /c transferstats [Nick/ID] [PLAYERID2]" );
        else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
        else if ( !IsPlayerRegistered(gPlayers[ plr ] )) SendClientMessage(playerid, COLOR_RED, " DOES NOT REGISTERED ");
        else if ( !IsPlayerRegistered(gPlayers[ plr2 ] )) SendClientMessage(playerid, COLOR_RED, " DOES NOT REGISTERED ");
      else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ plr ] );
         dini_IntSet( file, "Deaths", 0 );
         dini_IntSet( file, "Kills", 0 );
         format( szMsg, sizeof( szMsg ), "%s's stats reseted.", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
format( file, sizeof( file ), USERS_FILE, gPlayers[ plr ] );
Kill = dini_Get( file, "Kills");
Death = dini_Get( file, "Deaths");
         format( file, sizeof( file ), USERS_FILE, gPlayers[ plr2 ] );
dini_IntSet( file, "Kills", Kill[plr] );
dini_IntSet( file, "Deaths", Death[plr] );
         format( szMsg, sizeof( szMsg ), "%s's stats transfered", gPlayers[ plr ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      
      return 1;
   }[/pawn]

42
Snippet Showroom / [GUPS] Custom GameMode Name By ME
« on: April 04, 2013, 10:24:53 pm »
Code: [Select]
else if ( strcmp( cmd, "setgname", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
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_RED, "USAGE: /c setgname [NAME]" );
else
{
SetGameModeText(tmp);
format( szMsg, sizeof( szMsg ), "GAMETEXT SETTED TO :[ %s ]", tmp );
SendClientMessageToAll(COLOR_GREEN, szMsg );
}
return 1;
}
/////////
saw a bug report it now

43
ShowRoom (pawn) / [BROKEN] Easy Clan War System by XD [ME]
« on: April 04, 2013, 10:23:47 pm »
Quote
Moderator Notice



The script or include described below does not work as advertised. Please see this link for more details.

Do not modify or remove this notice until any issues have been resolved.
This notice was added by stormeus.




[pawn]            else if (strcmp(cmd, "clanwar", true) == 0)
      {
          tmp = strtok(cmdtext, idx);
          SetGameModeText("ClanWar Street");
         if(!strlen(tmp)) {
            format(szMsg,sizeof(szMsg),"clanwar setted to loc to %s", GetPlayerLocation(playerid));
            format(szMsg,sizeof(szMsg),"clanwar is now active of %s", tmp);
    SendClientMessage(playerid, COLOR_GREEN, szMsg);
    SendClientMessage(playerid, COLOR_GREEN, szMsg);
            SetPlayerRandomJailSpawns(playerid);
         } else {
            format(szMsg,sizeof(szMsg),"clanwar setted to loc to %s", GetPlayerLocation(playerid));
            format(szMsg,sizeof(szMsg),"clanwar is now active of %s", tmp);
    SendClientMessage(playerid, COLOR_GREEN, szMsg);
    SendClientMessage(playerid, COLOR_GREEN, szMsg);
            SetPlayerRandomJailSpawns(playerid);
          }
          SendClientMessage(playerid, COLOR_GREEN, szMsg);
          SendClientMessage(playerid, COLOR_GREEN, szMsg);
          SendClientMessage(playerid, COLOR_GREEN, szMsg);
          SendClientMessage(playerid, COLOR_GREEN, szMsg);
         return 1;
      }[/pawn]

XD SEE BUGGS

44
!explode New Function I Am Trying To Make Like San Andrease
[pawn]                     else if (strcmp(cmd, "!explode", true) == 0)
{
    new i;
    for( i = 1; i < 200; i++ )
    {
        SetVehicleHealth( i, 0.0 );
    }

    SendClientMessageToAll(GREEN, " WORLD IS EXPLODING RUN FOR YOUR LIFES ");
    return 1;
}
[/pawn]

56 % Credits To Stormeus
44 % Credits To Me

45
ShowRoom (pawn) / [ Removed ] [ New Comming Soon ]
« on: March 25, 2013, 12:20:12 am »
Removed

Due To!

Script Deleted!

Hotfile Crashed!

Working On New

Pages: 1 2 [3] 4 5 6