1
mIRC/pawn Scripting / Re: Help.
« on: February 06, 2012, 02:25:19 pm »Sorry i cant understand....
You want the Fuel Script System?
yes.
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.
Sorry i cant understand....
You want the Fuel Script System?
}
else if ( strcmp( cmd, "!Heal", true ) == 0 )
{
new Float:Health; GetPlayerHealth( playerid, Health );
if ( Health >= 100 ) SendClientMessage( playerid, RED, "Error: You have 100" );
else {
SetTimer("TimeHealth",5000,0);
SendClientMessage(playerid,ORANGE,"Wait 5 Secs..");
}
return 1;
// Test
public TimeHealth(playerid)
{
SetPlayerHealth(playerid,100);
SendClientMessage(playerid,ORANGE,"You Have Healed ");
}
}
else if ( strcmp( cmd, "!Drunk", true ) == 0 )
{
SetPlayerDrunk(playerid,1);
SendClientMessage(playerid,ORANGE,"Drunked ");
return 1;
}
else if ( strcmp( cmd, "!unDrunk", true ) == 0 )
{
SetPlayerDrunk(playerid,0);
SendClientMessage(playerid,ORANGE,"Undrunked ");
return 1;