27.02.2016, 23:52
@Everyone: Thank you.
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.
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.
Not created using this include. It's from a different person.
Quote:
Can you give me cmd that used in the video? I have for some reason does not create a circle ..
|
Код:
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:
@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. |
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:
Great!
Example http://i.imgur.com/nmkB45a.gif |