SA-MP Forums Archive
[Ajuda] Na sirene e /algemar 0.3e - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Na sirene e /algemar 0.3e (/showthread.php?tid=363852)



Na sirene e /algemar 0.3e - Carlos_barbosa - 28.07.2012

queria uma ajuda da sirene na viaturas da 0.3e aonde acho um exemplo para fazer?e como faзo da algemas que o player fica preso para tras,ja tentei acha aqui no forum e nгo achei

ajudando dou um +


Re: Na sirene e /algemar 0.3e - Vitor_Gorzoni - 29.07.2012

Pra algemar seria
pawn Код:
SetPlayerAttachedObject(giveplayerid, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
SetPlayerSpecialAction(giveplayerid, 24);
e pra desalgemar
pawn Код:
RemovePlayerAttachedObject(giveplayerid, 4);
SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_NONE);



Re: Na sirene e /algemar 0.3e - WaGnerLiima - 29.07.2012

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
Sirene: 19419




--
-
-
pawn Код:
CMD:sirene(playerid)
{
    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, COLOR_YELLOW, "sirene adicionada");
    return 1;
}