Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: NOORAN on January 27, 2012, 09:35:49 pm
-
Hey Can Anyone Give me !Drunk and !undrunk cmd I need Plz Give me !
-
}
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;
??
-
Thank You !
-
i think this cmd is gud
else if ( strcmp( cmd, "!drunk", true ) == 0 )
{
new Float:Drunk;
if ( strcmp( GetPlayerLocation( playerid ), "Bikers-Bar-Downtown-Vice-City-Mainland", true ) == 1 ) SendClientMessage( playerid, COLOR_GREEN, "You have to be at the Biker." );
else
{
SetPlayerDrunk( playerid, 300, 300);
SendClientMessage( playerid, COLOR_GREEN, "You are now Drunked" );
}
return 1;
}
else if ( strcmp( cmd, "!undrunk", true ) == 0 )
{
new Float:Drunk;
if ( strcmp( GetPlayerLocation( playerid ), "Hospital-Downtown-Vice-City-Mainland", true ) == 1 ) SendClientMessage( playerid, COLOR_GREEN, "You have to be at the Hospital." );
else
{
SetPlayerDrunk( playerid,0);
SendClientMessage( playerid, COLOR_GREEN, "Dr. says that dont drink again its bad for your health." );
}
return 1;
}
-
Thanx Jimmy I added Your Cmd ok Now u hAPPY !