28.01.2011, 18:07
Hello,
I want to update my weed system with getting a plant on the ground.
So, for example:
okay, and now..?
I made that 'a' because when the player types /pickweed, the object
needs to be destroyed.. Okay, what should i do now? Anyone ideas?
PS: Which is the best ObjectID for the drug plant?
I want to update my weed system with getting a plant on the ground.
So, for example:
pawn Код:
if(strcmp(cmd, "/plant", true) == 0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
new a = CreateObject(688, X, Y, Z, 0.0, 0.0, 96.0);
}
I made that 'a' because when the player types /pickweed, the object
needs to be destroyed.. Okay, what should i do now? Anyone ideas?
PS: Which is the best ObjectID for the drug plant?