[Ajuda] Na sirene e /algemar 0.3e
#1

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 +
Reply
#2

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);
Reply
#3

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)