Hallöööö Liebe BrotFish und BrotFishe ich bräuchte mal jemanden der mir das hier Nur für LSPD Member Leader FBI Member Leader Army Member Leader Scriptet
LSPD Frak id 1
FBI Frak id 2
Army Frak id 3
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
new sirene[MAX_VEHICLES];
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Sirenen by Haxler :D");
print("--------------------------------------\n");
return 1;
}
#else
main()
{
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/sirenean", cmdtext, true, 10) == 0)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
sirene[GetPlayerVehicleID(playerid)] = CreateObject(18646,x,y,z,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.2,0,0.71,0,0,0);
return 1;
}
if (strcmp("/sireneaus", cmdtext, true, 10) == 0)
{
DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
return 1;
}
return 0;
}
Bitte und Danke im Vorraus!