16.02.2013, 21:02
Hey I have two Questions:
1-
//the following code is under GameModInit
//I have under OnPlayerConnect
Will this show the textdraw for the new connected player or all ? (so need I to add [MAX_PLAYERS]; ?
2-I was wondering if a player putted a baril(can explode) , and then he shoot it , then 3 players die (near the baril) , Can the server detect that the player who shooted the baril is the killer ?
thank you.
1-
pawn Код:
new Text:Textdraw10; //this is in the top
pawn Код:
Textdraw14 = TextDrawCreate(6.000000, 281.000000, "WELCOME TO THE SERVER!");
TextDrawBackgroundColor(Textdraw14, 125);
TextDrawFont(Textdraw14, 1);
TextDrawLetterSize(Textdraw14, 0.58599, 0.48000);
TextDrawColor(Textdraw14, 15489635);
TextDrawSetOutline(Textdraw14, 2);
TextDrawSetProportional(Textdraw14, 3);
Код:
TextDrawShowForPlayer(playerid,Textdraw14);
2-I was wondering if a player putted a baril(can explode) , and then he shoot it , then 3 players die (near the baril) , Can the server detect that the player who shooted the baril is the killer ?
thank you.

