Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => ShowRoom (pawn) => Topic started by: Rocky 26722 on March 13, 2014, 07:28:39 pm

Title: [R2] Cool Vcmp Server Script
Post by: Rocky 26722 on March 13, 2014, 07:28:39 pm
hi Guys

This Script Name Vc:Mp Mode By Falcon.................. I edit Some More Cmds Like

/c register and /c login System and brb and some Location or Pickup And cmds

Download Link:  [Link Removed]


This is My First Time Edit This Script

Sorry For My Bad English................. :(
Title: Re: [R2] Cool Vcmp Server Script
Post by: mrockxkingbutt on March 13, 2014, 07:44:34 pm
Have Many bugs

Brb

if player goes to brb anyone will kill him!

easily!

second bug

This Cannot Be Used As A Timer
Code: [Select]
public Healing(playerid)
{
TogglePlayerControllable(playerid, 1);
SetPlayerHealth( playerid, 100.0 );
SendClientMessage( playerid, COLOR_YELLOW, ">> You have been healed!" );
}

Code: [Select]
else if ( strcmp( cmd, "!heal", true ) == 0 )
   {
      new Float:Health; GetPlayerHealth( playerid, Health );
        if ( Health >= 100 ) SendClientMessage( playerid, COLOR_YELLOW, ">> Error: You are healthy." );
      else
      {
          TogglePlayerControllable(playerid,0);
          SetTimer("Healing",5000,0);
          SetPlayerHealth( playerid, 100.0 );
          GameTextForPlayer(playerid, "Healed.. ~w~5 Second wait.");
      }
      return 1;
      }

Make A Loop For It

Add

[pawn]PlayerIsHealing[MAX_PLAYERS];[/pawn]

Add This In Heal Command

[pawn]PlayerIsHealing[playerid] = 1;[/pawn]

use this public

[pawn]public Healing()
{
   for (i ;i < MAX_PLAYERS; i++) {
 if(IsPlayerConnected(i) {
if(PlayerIsHealing == 1) {
TogglePlayerControllable(i, 1);
SetPlayerHealth( i, 100.0 );
PlayerIsHealing = 0;
SendClientMessage( i, COLOR_YELLOW, ">> You have been healed!" );
}
}
}
return 1;
}
[/pawn]
Title: Re: [R2] Cool Vcmp Server Script
Post by: Rocky 26722 on March 13, 2014, 09:45:23 pm
Thank Bro You Check My Bugs Mistakes...And I Edit Your Heal System Work Correctly
Title: Re: [R2] Cool Vcmp Server Script
Post by: rohanaj60 on March 16, 2014, 11:16:23 am
From which Application Do you Edit Rocky...
Title: Re: [R2] Cool Vcmp Server Script
Post by: Rocky 26722 on March 31, 2014, 10:41:11 pm
From which Application Do you Edit Rocky...

which you Wan't ? Rohanaj60