COMMAND:sirene(playerid, params[])
{
new objectid = CreateObject(19419, 0, 0, 0, 0, 0, 0);
AttachObjectToVehicle(objectid, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, AMARELO, "Sirene Adicionada");
return 1;
}
COMMAND:removersirene(playerid, params[])
{
DestroyObject(19419);
SendClientMessage(playerid, AMARELO, "Sirene Removida");
return 1;
}
DestroyObject(objectid);
new sireneObjeto;
COMMAND:sirene(playerid, params[])
{
sireneObjeto = CreateObject(19419, 0, 0, 0, 0, 0, 0);
AttachObjectToVehicle(sireneObjeto, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, AMARELO, "Sirene Adicionada");
return 1;
}
COMMAND:removersirene(playerid, params[])
{
DestroyObject(sireneObjeto);
SendClientMessage(playerid, AMARELO, "Sirene Removida");
return 1;
}
pawn Код:
|
new sireneObjeto;
COMMAND:sirene(playerid)
{
sireneObjeto = CreateObject(19419, 0, 0, 0, 0, 0, 0);
AttachObjectToVehicle(sireneObjeto, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, AMARELO, "Sirene Adicionada");
return 1;
}
COMMAND:removersirene(playerid)
{
DestroyObject(sireneObjeto);
SendClientMessage(playerid, AMARELO, "Sirene Removida");
return 1;
}