Awesome wasted screen!!!! -
GameOvr - 08.07.2018
Hello guys can anyone tell me how to make a wasted screen like this plz if you guys can gimme the code
This is very nice
And here I need to mention the killer name too like in the picture "you god killed by Fred"
Re: Awesome wasted screen!!!! -
Trevor19012 - 08.07.2018
Using strings and textdraws and using some kind of textdraw editor with atleast some kind of knowledge of pawn and how OnPlayerDeath works.
Few days of learning and you should have it down.
Refer to the SA-MP wiki.
Re: Awesome wasted screen!!!! -
GameOvr - 08.07.2018
IH I can create the txtdraw with a tde and get the codes but the problem is idk how to get killer name to the screen plz help with an example code
Re: Awesome wasted screen!!!! -
Trevor19012 - 08.07.2018
Look up anything about GetPlayerName buddy.
Re: Awesome wasted screen!!!! -
div - 08.07.2018
Код:
new kname[24], deathmsg[69];
GetPlayerName(killerid, kname, 24);
format(deathmsg, sizeof(deathmsg), "%s KILLED %s");
TextDrawShowForPlayer(playerid, YOUR TEXTDRAW NAME HERE, deathmsg);
Something like this
EDIT: under OnPlayerDeath
Re: Awesome wasted screen!!!! -
CodeStyle175 - 08.07.2018
well center thing is cue object ors what is zoomed in and color is changed to black.
up and down box is just simple black textdraw
Re: Awesome wasted screen!!!! -
GameOvr - 08.07.2018
Quote:
Originally Posted by Trevor19012
Look up anything about GetPlayerName buddy.
|
Thanks for the advice bro.. I will check that out
Quote:
Originally Posted by CodeStyle175
well center thing is cue object ors what is zoomed in and color is changed to black.
up and down box is just simple black textdraw
|
Yes you are right that's the format
Quote:
Originally Posted by div
Код:
new kname[24], deathmsg[69];
GetPlayerName(killerid, kname, 24);
format(deathmsg, sizeof(deathmsg), "%s KILLED %s");
TextDrawShowForPlayer(playerid, YOUR TEXTDRAW NAME HERE, deathmsg);
Something like this
EDIT: under OnPlayerDeath
|
Thank you very very much finally u gave me the example code that I was looking for...
Re: Awesome wasted screen!!!! -
GameOvr - 08.07.2018
Quote:
Originally Posted by div
Код:
new kname[24], deathmsg[69];
GetPlayerName(killerid, kname, 24);
format(deathmsg, sizeof(deathmsg), "%s KILLED %s");
TextDrawShowForPlayer(playerid, YOUR TEXTDRAW NAME HERE, deathmsg);
Something like this
EDIT: under OnPlayerDeath
|
1 question as my knowledge in pawn in that deathmsg (%s killed you!).I can't get the font of the screenshot so how to get that
Re: Awesome wasted screen!!!! -
Sasino97 - 09.07.2018
Quote:
Originally Posted by div
Код:
new kname[24], deathmsg[69];
GetPlayerName(killerid, kname, 24);
format(deathmsg, sizeof(deathmsg), "%s KILLED %s");
TextDrawShowForPlayer(playerid, YOUR TEXTDRAW NAME HERE, deathmsg);
Something like this
EDIT: under OnPlayerDeath
|
There is something missing, and also I suggest you to avoid using
'24'.
Код:
new kname[MAX_PLAYER_NAME];
new deathmsg[69];
GetPlayerName(killerid, kname, sizeof(kname));
format(deathmsg, sizeof(deathmsg), "%s KILLED YOU");
TextDrawSetString(textdraw_id, deathmsg);
TextDrawShowForPlayer(playerid, textdraw_id);
And also you will need to hide the textdraw on upon respawn.
Quote:
Originally Posted by GameOvr
1 question as my knowledge in pawn in that deathmsg (%s killed you!).I can't get the font of the screenshot so how to get that
|
That font does not normally exist, they probably used a custom texture, and if I am not wrong you only can achieve that using SA-MP 0.3
DL.
Re: Awesome wasted screen!!!! -
DuncanShields - 23.07.2018
@GameOver
how about you Stop Copying Los Santos Territory server ?
Don`t be Noob and Do Something else, Virgin. All of Your Posts Are Asking for Copying Something.