[Include] Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)
#15

@Everyone: Thank you.

Quote:
Originally Posted by Stuntff
Посмотреть сообщение
Can you give me cmd that used in the video? I have for some reason does not create a circle ..
Quote:
Originally Posted by PT
Посмотреть сообщение
You should post the exemple codes too you used on video.
Here are commands for the first video (you'll need ZCMD and sscanf), but unfortunately I didn't save the speedometer codes. I might write them again tomorrow or someone else can try to play with the includes.
Код:
command(create, playerid, params[])
{
	new
			text[6], Float:coord[4];
	if(sscanf(params, "s[6]ffF(320.0)F(240.0)", text, coord[0], coord[1], coord[2], coord[3]))
		return SendClientMessage(playerid, -1, "Correct usage: \"/create [text] [radius] [diff] [x] [y]\"");
	if(!TD_DestroyCircle(playerid))
		TD_CreateCircle(playerid, text, 0x000000FF, coord[2], coord[3], coord[0], coord[1]);
	return true;
}
Код:
command(activate, playerid, params[])
{
	TD_ActivateCircle(playerid, 0x00FFFFFF, strval(params));
	return true;
}
Код:
command(stop, playerid, params[])
{
	TD_StopCircle(playerid);
	return true;
}
Код:
command(destroy, playerid, params[])
{
	TD_DestroyCircle(playerid);
	return true;
}
Код:
command(resume, playerid, params[])
{
	TD_ResumeCircle(playerid);
	return true;
}
Код:
command(pause, playerid, params[])
{
	TD_PauseCircle(playerid);
	return true;
}
Код:
public OnPlayerCircleFinish(playerid)
{
	SendClientMessage(playerid, 0xFFFFFFFF, "Finished!");
	return true;
}
Quote:
Originally Posted by Varkoll_
Посмотреть сообщение
@ZaBraNjeNi: "Very very" useful for what purpose ?

I don't really see the usefulness of this include. Maybe for a speedometer as you tried to show us, but I don't really see how we could use your map icons circles. I don't think many people are going to use your include. Anyway if you enjoyed coding it, it matters. Thank you for your contribution.
Let me first start with pickup circles. One of my favourite games is "The Lord of the Rings: Conquest". You must capture and defend zones from enemies in order to win. Here's an example:


And this in my opinion could be used to mark capturing/defending zone:


Next thing - textdraw circles: another favourite game of mine - The Godfather The Game II:
[ame]http://www.youtube.com/watch?v=WXABMZHBWXI[/ame]
Video shows activity of cracking a safe - you can see the circle moving while the made man is doing an activity (cracking a safe in this case). You can use it in a RP server while the player is cracking the bank safe or while he is loading something or whatever.

Object circles - stunt server comes in mind first.

As for the map icons, I also see an idea to mark an area on the map/radar. This include may not be as useful as others, but I did it anyway.

And finally, like "ZaBraNjeNi" said - use your imagination. It's a beautiful thing.

Quote:
Originally Posted by Levu
Посмотреть сообщение
Not created using this include. It's from a different person.
Reply


Messages In This Thread
Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 27.02.2016, 15:37
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 27.02.2016, 18:27
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Stuntff - 27.02.2016, 18:29
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 27.02.2016, 18:31
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Stuntff - 27.02.2016, 18:45
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by PT - 27.02.2016, 19:18
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by HydraHumza - 27.02.2016, 19:42
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by illuminati2 - 27.02.2016, 19:49
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by ZaBraNjeNi - 27.02.2016, 19:56
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Chilli9434 - 27.02.2016, 20:15
Respuesta: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Whyd - 27.02.2016, 20:27
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Varkoll_ - 27.02.2016, 20:32
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by ZaBraNjeNi - 27.02.2016, 20:53
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Levu - 27.02.2016, 21:26
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 27.02.2016, 23:52
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by rootcause - 28.02.2016, 01:47
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by X3nZ - 28.02.2016, 02:02
Respuesta: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Z0MBERTH - 28.02.2016, 02:53
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by SickAttack - 28.02.2016, 02:56
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Amunra - 28.02.2016, 05:00
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 28.02.2016, 10:21
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Varkoll_ - 28.02.2016, 10:21
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by JustMe.77 - 28.02.2016, 10:25
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by DrMrMuma - 28.02.2016, 10:30
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 28.02.2016, 10:42
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Unrea1 - 28.02.2016, 10:52
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by SpikY_ - 28.02.2016, 11:16
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Unrea1 - 28.02.2016, 11:19
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Correlli - 28.02.2016, 11:22
Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon) - by Greggu - 01.03.2016, 09:34

Forum Jump:


Users browsing this thread: 3 Guest(s)