[Ajuda] Comando /removersirene
#6

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
pawn Код:
new sireneObjeto;

COMMAND:sirene(playerid, params[])
{
    sireneObjeto = 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(sireneObjeto);
    SendClientMessage(playerid, AMARELO, "Sirene Removida");
    return 1;
}
objectid ?

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


Messages In This Thread
Comando /removersirene - by focaximubh - 04.10.2012, 17:58
Re: Comando /removersirene - by focaximubh - 04.10.2012, 18:30
Re: Comando /removersirene - by Ouro - 04.10.2012, 18:45
Re: Comando /removersirene - by focaximubh - 04.10.2012, 18:56
Re: Comando /removersirene - by Jason` - 04.10.2012, 18:58
Re: Comando /removersirene - by @FatalFormat - 04.10.2012, 19:03
Re: Comando /removersirene - by Jason` - 04.10.2012, 19:05
Re: Comando /removersirene - by Rhayziin - 04.10.2012, 21:49

Forum Jump:


Users browsing this thread: 1 Guest(s)