29.07.2012, 03:39
if(strcmp(cmd, "/sirene", true) == 0)
{
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;
},deu certo de ativa agora queria o de remover que ficaria assim ?
if(strcmp(cmd, "/sirene", true) == 0)
{
new objectid = CreateObject(19419, 0, 0, 0, 0, 0, 0);
removeAttachObjectToVehicle(objectid, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, COLOR_YELLOW, "sirene adicionada");
return 1;
}
ajuda ai,so novatгo
{
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;
},deu certo de ativa agora queria o de remover que ficaria assim ?
if(strcmp(cmd, "/sirene", true) == 0)
{
new objectid = CreateObject(19419, 0, 0, 0, 0, 0, 0);
removeAttachObjectToVehicle(objectid, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.944999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid, COLOR_YELLOW, "sirene adicionada");
return 1;
}
ajuda ai,so novatгo