I need help please about siren's - 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)
+--- Thread: I need help please about siren's (
/showthread.php?tid=388556)
I need help please about siren's -
yarin0600 - 29.10.2012
Hey I made now an siren's , here's the code in script , And I added that filter script ...
http://forum.sa-mp.com/showthread.ph...ighlight=siren
And when I try to turn on the siren that's the pic :
Here's the code in script I made :
Код:
CMD:siren1(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),18646, 10.0, 10.0, 10.0, 0, 0, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "You have added [0.3d] Sirens.");
return 1;
}
CMD:siren2(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),19419, 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, 0xFFFFFFFF, "You have added [0.3e] Sirens.");
return 0;
}
WHAT TO DO?!
Re: I need help please about siren's -
Babul - 29.10.2012
replace the
with
Re: I need help please about siren's -
Stereotype - 29.10.2012
Omg return 0 XD OMG s 0 b e i t
XDDDD
?