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
-
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................. :(
-
Have Many bugs
Brb
if player goes to brb anyone will kill him!
easily!
second bug
This Cannot Be Used As A Timer
public Healing(playerid)
{
TogglePlayerControllable(playerid, 1);
SetPlayerHealth( playerid, 100.0 );
SendClientMessage( playerid, COLOR_YELLOW, ">> You have been healed!" );
}
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]
-
Thank Bro You Check My Bugs Mistakes...And I Edit Your Heal System Work Correctly
-
From which Application Do you Edit Rocky...
-
From which Application Do you Edit Rocky...
which you Wan't ? Rohanaj60