21.07.2011, 15:21
Command 1, i got no errors but its not working ingame..
Command 2 also no errors but not working ingame
i am using zcmd
Thanks
Код:
CMD:vr(playerid,params[])
{
new str[130];
SetVehicleHealth(playerid,1000);
format(str,130, "You have fixed your vechicle");
SendClientMessage(playerid,yellow,str);
return 1;
}
Код:
CMD:carcolor(playerid,params[])
{
new str[130],color1,color2;
IsPlayerInAnyVehicle(playerid);
if(sscanf(params, "dd", color1,color2)) return SendClientMessage(playerid,red,"/carcolor [color1] [color2]");
ChangeVehicleColor(playerid,color1,color2);
format(str,130, "You have changed your vehicle color");
SendClientMessage(playerid,yellow,str);
return 1;
}
Thanks


