[Req] 2 commands
#5

Quote:
Originally Posted by dclaw
Hello, i searched an hour for 2 command's.
The command /mute and /vr <- Vehicle Repair
i think they easy to make, if u are good script.
Im not a good scripter
Can somebody make one of them for me?
I want it only for VIP.
Here's The line:

Код:
if(IsPlayerVipMember(playerid))
pawn Код:
if(strcmp(cmdtext,"/vr",true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
if(IsPlayerVipMember(playerid)) {
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
RepairVehicle(GetPlayerVehicleID(playerid));
}}}}
Reply


Messages In This Thread
[Req] 2 commands - by dclaw - 22.02.2010, 14:07
Re: [Req] 2 commands - by kmzr - 22.02.2010, 14:08
Re: [Req] 2 commands - by dclaw - 22.02.2010, 14:09
Re: [Req] 2 commands - by Correlli - 22.02.2010, 14:10
Re: [Req] 2 commands - by Razvann - 22.02.2010, 14:29
Re: [Req] 2 commands - by Correlli - 22.02.2010, 14:35
Re: [Req] 2 commands - by dclaw - 22.02.2010, 14:43
Re: [Req] 2 commands - by aircombat - 22.02.2010, 14:44
Re: [Req] 2 commands - by Razvann - 22.02.2010, 14:44
Re: [Req] 2 commands - by dclaw - 22.02.2010, 14:46

Forum Jump:


Users browsing this thread: 2 Guest(s)