need help to script this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help to script this (
/showthread.php?tid=609587)
need help to script this -
CarRamper - 14.06.2016
Hello Guys i need your help In Scripting a textdraw on player connect like this show in picture.
does this code is correct
Код:
// Create Intro textdraw for when a player joins the server:
TextDrawSetString(MediumTextdraw0[playerid], " SERVER NAME ");
format(string, sizeof(string), "~g~%s",ServerInfo[sMapName]);
TextDrawSetString(MediumTextdraw1[playerid], string);
TextDrawSetString(MediumTextdraw2[playerid], "- This Is ~r~Not ~w~A Deathmatch Server~n~- Do ~r~Not ~w~Attack People For No Reason~n~Or You Will Be Kicked / Banned~n~ ~n~- Respect Admins And Other Players~n~ ~n~- Type ~y~/help ~w~For Help And Game Information.~n~- Type ~y~/rules ~w~For Server Rules");
format(string, sizeof(string), " ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~~y~Version %s~n~ ~n~~b~%s", VERSION, WEBSITE);
TextDrawSetString(MediumTextdraw3[playerid], string);
TextDrawShowForPlayer(playerid, MediumTextdraw0[playerid]);
TextDrawShowForPlayer(playerid, MediumTextdraw1[playerid]);
TextDrawShowForPlayer(playerid, MediumTextdraw2[playerid]);
TextDrawShowForPlayer(playerid, MediumTextdraw3[playerid]);
I Am Getting Error So Tell Me How To Script.I Am To Script It From Statrting
Re: need help to script this -
SyS - 14.06.2016
what error?
Re: need help to script this - WhiteGhost - 14.06.2016
Why do u guys copyyyyyyyy,omg come up with something of your own