/veh IDcar color1 color2 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /veh IDcar color1 color2 (
/showthread.php?tid=156634)
/veh IDcar color1 color2 -
morovicborna - 23.06.2010
Listen guys i need this debug or what ever is this.I have myne debug where i can onli set car but i need color :S :S can someone put here link so i can download it plzzzzzz
btw can you write how to put it do i need to put it in gamemodes and then repair it in server.cgf
Re: /veh IDcar color1 color2 -
ls200 - 23.06.2010
Didnt exactly understand what you said, but take a look at this:
Color ids
AddStaticVehicleEx
OR
AddStaticVehicle
Re: /veh IDcar color1 color2 -
morovicborna - 23.06.2010
erm ......look
-I wanna make car,and that car shoud have black color,but with mta editor i cant put in pawno code :S ,
AddStaticVehicle ....how to make this?? they told me that when i enter my server i shoud write /rcon login ****** then /veh CARID color1 color2
Re: /veh IDcar color1 color2 -
morovicborna - 23.06.2010
REFRESH
Re: /veh IDcar color1 color2 -
Jofi - 23.06.2010
You can convert MTA
M Mapeditor Vehicles to SAMP Whit ConvertFFS
You Want Command /veh? or Save Vehicle Position? ( AddStaticVehicle )
Re: /veh IDcar color1 color2 -
DJDhan - 23.06.2010
Код:
if(!strcmp(cmdtext,"/vehcolor",true))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xffffffaa,"You need to be in a vehicle.");
new tmp[128],tmp2[128],color1,color2,Index;
new veh = GetPlayerVehicleID(playerid);
tmp=strtok(cmdtext,Index);
tmp2=strtok(cmdtext,Index);
if(!strlen(tmp) || !strlen(tmp2)) return SendClientMessage(playerid,0xffffffaa,"USAGE: /vehcolor color1 color2");
color1=strval(tmp);
color2=strval(tmp2);
ChangeVehicleColor(veh,color1,color2);
return 1;
}