[Ajuda] Ajuda sobre o addsiren
#4

Quote:

#include <sscanf2>

Quote:

CMD:addsirene(playerid, params[])
{
for (new vid; vid < 2000; vid++)
{
if (sscanf(params, "i", vid)) return SendClientMessage(playerid, 0x00FF00FF, "USE: {ffffff}/addsirene [ID veнculo]");
{
AVehicleData[vid][NeonLeft] = CreateObject(18646,0,0,0,0,0,0);
AVehicleData[vid][NeonRight] = CreateObject(18646,0,0,0,0,0,0);
AttachObjectToVehicle(AVehicleData[vid][NeonLeft], vid, -0.5, 0.0, 0.80, 0.0, 0.0, 0.0);
AttachObjectToVehicle(AVehicleData[vid][NeonRight], vid, 0.5, 0.0, 0.80, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0x00FF00FF, "CMD: Sirene adicionada ao veнculo {FFFFFF}ID:%i{00FF00}", vid);
}
}
return 1;
}

Atenзгo, с foi testada, fiz rбpido.
Reply


Messages In This Thread
Ajuda sobre o addsiren - by GabrielLost - 24.01.2016, 14:19
Re: Ajuda sobre o addsiren - by BykiLler - 24.01.2016, 15:06
Re: Ajuda sobre o addsiren - by GabrielLost - 25.01.2016, 04:39
Re: Ajuda sobre o addsiren - by capron - 25.01.2016, 05:40
Re: Ajuda sobre o addsiren - by GabrielLost - 25.01.2016, 11:21
Re: Ajuda sobre o addsiren - by ClaudioF - 25.01.2016, 18:41
Re: Ajuda sobre o addsiren - by ipsLuan - 25.01.2016, 18:49
Re: Ajuda sobre o addsiren - by AtomicSAMP - 28.01.2016, 12:34

Forum Jump:


Users browsing this thread: 3 Guest(s)