Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This file was generated by Nickk's TextDraw editor script
- Nickk888 is the author of the NTD script
- */
- #include <a_samp>
- new Text:PublicTD[1];
- public OnFilterScriptInit()
- {
- PublicTD[0] = TextDrawCreate(463.000000, 167.000000, "Los Santos, Commerce");
- TextDrawFont(PublicTD[0], 1);
- TextDrawLetterSize(PublicTD[0], 0.204167, 1.150000);
- TextDrawTextSize(PublicTD[0], 608.500000, 17.000000);
- TextDrawSetOutline(PublicTD[0], 1);
- TextDrawSetShadow(PublicTD[0], 0);
- TextDrawAlignment(PublicTD[0], 1);
- TextDrawColor(PublicTD[0], -1);
- TextDrawBackgroundColor(PublicTD[0], 255);
- TextDrawBoxColor(PublicTD[0], 1296911763);
- TextDrawUseBox(PublicTD[0], 1);
- TextDrawSetProportional(PublicTD[0], 1);
- TextDrawSetSelectable(PublicTD[0], 0);
- return 1;
- }
- public OnFilterScriptExit()
- {
- TextDrawDestroy(PublicTD[0]);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/tdtest", true))
- {
- TextDrawShowForPlayer(playerid, PublicTD[0]);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement