28.07.2015, 11:38
(
Последний раз редактировалось s3ek; 07.09.2015 в 13:25.
)
removed no help
CMD:fixvehall(playerid, params[])
{
if(PlayerInfo[playerid][Level] >= 2) {
new giveplayerid;
{
for(new v = 0; v < MAX_VEHICLES; v++) {
RepairVehicle(v);
}
SendClientMessage(playerid, COLOR_GREY, "All vehicles fixed!");
}
return 1;
}
CMD:afixall(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 2)
{
for(new i;i<MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i) || IsPlayerNPC(i))continue;
afixcars(i);
afixhs(i);
afixbizs(i);
}
SendClientMessage(playerid,COLOR_BRIGHTRED,"Cars, House, and Business successfully repaired!");
}
else SendClientMessage(playerid,red,"ERROR: You need to be level 2 to use this command!");
return 1;
}
Hello!
![]() Try this: PHP код:
|
#include <zcmd>