[SOLVED] Serching Red Flare objectid -
Falco-Ger - 23.10.2011
Im serching for the objectid of the red smoking flare.
Before you tell me to look it up in a mapeditor,
i can't cause this model is only created once in the mission N.O.E i think where you have to put a Flare creating red smoke to make a helicopter droping a package.
I need the objectid for that flare so players can put red smoke markers on the ground.
can anyone tell me the id or how i could find such things out on my own without cycling through 18000 ids?
Re: Serching Red Flare objectid -
Rachael - 23.10.2011
https://sampwiki.blast.hk/wiki/Objects_0.3c
Re: Serching Red Flare objectid -
Falco-Ger - 23.10.2011
i love you
Re: Serching Red Flare objectid -
Zonoya - 23.10.2011
i need the id also can u post the object id i dont see it
Re: Serching Red Flare objectid -
Falco-Ger - 25.10.2011
Quote:
Originally Posted by Zonoya
i need the id also can u post the object id i dont see it
|
18728 smoke_flare
in particle effects
Re: Serching Red Flare objectid -
DarkB0y - 14.02.2012
how to make a cmd like /Flare and to stop it /sFlare? in zcmd can some one help me pls?
Re: Serching Red Flare objectid -
Falco-Ger - 26.04.2012
why would oyu need a zcmd?
just use the standard onplayercommand, save the objectid to an array and when deleting set that value to something like -1. when typing flare or sflare you just check if the flare objectid for that player is -1 and act acordingly (meaning that a player with no flare can't delete random objects with the id of his last flare and a player can't have 2 flares)
like this
Код:
// global
new PlayerFlareObject[MAX_PLAYERS];
// in on player command text
if (!strcmp(cmd,"/flare",true))
{
if (PlayerFlareObject[playerid] == -1) // player haves no flare, create it
{
PlayerFlareObject[playerid] = CreateObject(bla);
}
else // player haves a flare, delete it
{
DestroyObject(PlayerFlareObject[playerid]);
PlayerFlareObject[playerid] = -1;
}
return 1;
}
im sure you can change it to your likings
Re: Serching Red Flare objectid -
MP2 - 27.04.2012
Quote:
Originally Posted by Falco-Ger
why would oyu need a zcmd?
|
It's a command processor..
Re: Serching Red Flare objectid -
TheDominator - 27.04.2012
He didn't mean it like that, he meant why use it when you could use the basic strcmp command processor.
Re: Serching Red Flare objectid -
RollTi - 27.04.2012
Quote:
Originally Posted by TheDominator
the basic strcmp command processor.
|
strcmp is not command processor.