22.02.2010, 14:29
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));
}}}}