[Ajuda] sistema de sirene nгo funciona
#6

Fiz aqui cara, aceito criticas e etc. kkkkkkk se Nгo gostou pega e faz

Quote:

if(strcmp(cmd, "/sirene1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
if(!IsACop(playerid))return SendClientMessage(playerid, -1, "Vocк nгo й COP!");
if(GetPVarInt(playerid, "SireneStatus") == 0)
{
SetPVarInt(playerid, "SireneStatus", 1);
SetPVarInt(playerid, "undercover", CreateObject(19419, 0, 0, 0, 0, 0, 0));
SetPVarInt(playerid, "undercover1", CreateObject(19419, 0, 0, 0, 0, 0, 0));
AttachObjectToVehicle(GetPVarInt(playerid, "undercover"), GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
AttachObjectToVehicle(GetPVarInt(playerid, "undercover1"), GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
return 1;
}
else if(GetPVarInt(playerid, "SireneStatus") == 1)
{
SetPVarInt(playerid, "SireneStatus", 0);
DestroyObject(GetPVarInt(playerid, "undercover"));
DestroyObject(GetPVarInt(playerid, "undercover1"));
return 1;
}
}

}
return 1;
}

Reply


Messages In This Thread
sistema de sirene nгo funciona - by RogerMP - 26.06.2013, 20:00
Respuesta: sistema de sirene nгo funciona - by DartakousLien - 26.06.2013, 21:00
Re: sistema de sirene nгo funciona - by focaximubh - 26.06.2013, 23:32
Re: sistema de sirene nгo funciona - by arakuta - 26.06.2013, 23:38
Re: sistema de sirene nгo funciona - by Vinicin - 27.11.2013, 19:16
Re: sistema de sirene nгo funciona - by Vinicin - 27.11.2013, 19:24
Re: sistema de sirene nгo funciona - by bruxo00 - 27.11.2013, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)