/Fix system not working anymore i dont know why, can somebody make me another?
#1

Well i have a /fix command in, and when its typed it fixes the vehcles obv
but know i have a drift counter, it doesent seem to be working
soo can somebody make another FOr me please?
Reply
#2

Why not just rename the command. Open up the gamemode's .pwn and do a search for "/fix" then change it to something like "/repaircar" or "/repcar"
Reply
#3

Quote:
Originally Posted by SilentHuntR
Why not just rename the command. Open up the gamemode's .pwn and do a search for "/fix" then change it to something like "/repaircar" or "/repcar"
i have tryed, still doesent work,
can anyone help
or know any other way to /fix
Reply
#4

i dont understand your 1st post.
Reply
#5

A command should stay the same after you just added some code. Probably its just some coding mistake. Post the command so we can see.
Reply
#6

Quote:
Originally Posted by Rk_
i dont understand your 1st post.
I need a /fix command
mines bugged
Reply
#7

Show your command, i will fix it.
Reply
#8

here it is


Код:
if(strcmp(cmdtext, "/fixVeh", true) == 0)
{
if(GetPlayerState(playerid) == 2)
{
SetVehicleHealth(vehicleidx, 1000);
SendClientMessage(playerid,0xFFFF00AA, "Vehicle Fixed!.");
}
else return SendClientMessage(playerid,0xFFFF00AA, "You're not in a vehicle!.");
return 1;
}
Reply
#9

ok their it is :P
Reply
#10

Here you go.
pawn Код:
if(strcmp(cmdtext, "/fixVeh", true) == 0)
{
  if(GetPlayerState(playerid) == 2)
  {
    SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
    SendClientMessage(playerid,0xFFFF00AA, "Vehicle Fixed!.");
  }
  else return SendClientMessage(playerid,0xFFFF00AA, "You're not in a vehicle!.");
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)