Hey guys i made a Fix Vehicle filterscript only for rcon try it :)
remember guys you need first login with rcon /rcon login (password)
if(strcmp(cmdtext,"/fix",true) == 0)
{
if(GetPlayerState != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,red,"You need to be driving a vehicle!");
SetVehicleHealth(GetPlayerVehicleID(playerid),1000 );
SendClientMessage(playerid,COLOR_YELLOW,"Vehicle fixed");
return 1;
}
Credits:
Conpop
Ryder
Enjoy!
remember guys you need first login with rcon /rcon login (password)
if(strcmp(cmdtext,"/fix",true) == 0)
{
if(GetPlayerState != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,red,"You need to be driving a vehicle!");
SetVehicleHealth(GetPlayerVehicleID(playerid),1000 );
SendClientMessage(playerid,COLOR_YELLOW,"Vehicle fixed");
return 1;
}
Credits:
Conpop
Ryder
Enjoy!