[Req] 2 commands
#1

Where do i need to put these line?
Код:
SendClientMessage(playerid, COLOR_RED, "[SERVER]: You are not in a vehicle!");
Код:
if(strcmp(cmdtext, "/vr", true) == 0)
{
  if(IsPlayerVipMember(playerid)) {
    if(IsPlayerInAnyVehicle(playerid)) {
      SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
      RepairVehicle(GetPlayerVehicleID(playerid));
    }
    else SendClientMessage(playerid, COLOR_RED, "ERROR: You are not a Vip Member!");
    return 1;
  }
}
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: 1 Guest(s)