Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

RoamPT

By: a guest on Oct 20th, 2009  |  syntax: C++  |  size: 2.77 KB  |  views: 632  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <a_samp>
  2.  
  3. new Text:NWORP1;
  4.  
  5. main()
  6. {
  7.     print("\n--------------------------------------");
  8.     print(" Las Venturas Island by RoamPT ");
  9.     print(" www.NWO-RP.com ");
  10.     print("--------------------------------------\n");
  11. }
  12.  
  13. public OnFilterScriptInit()
  14. {
  15.     NWORP1 = TextDrawCreate(39.000000,430.000000,"www.nwo-rp.com");
  16.     TextDrawAlignment(NWORP1,0);
  17.     TextDrawBackgroundColor(NWORP1,0x000000ff);
  18.     TextDrawFont(NWORP1,3);
  19.     TextDrawLetterSize(NWORP1,0.299999,1.000000);
  20.     TextDrawColor(NWORP1,0xffffffff);
  21.     TextDrawSetProportional(NWORP1,1);
  22.     TextDrawSetShadow(NWORP1,1);
  23.    
  24.     CreateObject(13105, 3376.827881, 2283.309326, -10.548957, 0.0000, 0.0000, 11.2500);
  25.     CreateObject(13212, 3390.019287, 2392.225586, -33.251282, 0.0000, 0.0000, 90.0000);
  26.     CreateObject(9241, 3423.636475, 2357.160889, 3.163866, 0.0000, 0.0000, 0.0000);
  27.     CreateObject(718, 3378.643555, 2348.712646, 1.479842, 0.0000, 0.0000, 0.0000);
  28.     CreateObject(718, 3390.326416, 2348.431885, 1.479842, 0.0000, 0.0000, 0.0000);
  29.     CreateObject(3461, 3383.117676, 2352.487061, 3.004979, 0.0000, 0.0000, 0.0000);
  30.     CreateObject(3461, 3386.618164, 2352.493164, 3.029337, 0.0000, 0.0000, 0.0000);
  31.     CreateObject(11490, 3384.842773, 2358.847412, 0.925652, 0.0000, 0.0000, 180.0000);
  32.     CreateObject(9237, 3448.819824, 2244.686035, 16.175497, 0.0000, 0.0000, 292.5001);
  33.     CreateObject(1704, 3384.261719, 2361.307617, 2.430333, 0.0000, 0.0000, 180.0000);
  34.     CreateObject(1704, 3386.914551, 2361.308594, 2.430333, 0.0000, 0.0000, 180.0000);
  35.     CreateObject(1723, 3380.936768, 2362.956055, 2.431512, 0.0000, 0.0000, 90.0000);
  36.     CreateObject(1723, 3388.684814, 2364.863037, 2.431512, 0.0000, 0.0000, 270.0000);
  37.     CreateObject(11631, 3382.551514, 2355.301025, 3.704369, 0.0000, 0.0000, 180.0000);
  38.     CreateObject(1714, 3382.161865, 2356.225830, 2.457039, 0.0000, 0.0000, 0.0000);
  39.     CreateObject(1786, 3384.701172, 2366.503174, 3.556235, 0.0000, 0.0000, 0.0000);
  40.     CreateObject(10767, 3475.434570, 2342.712402, -13.749187, 0.0000, 0.0000, 45.0000);
  41.     CreateObject(10766, 3475.577393, 2316.005615, -1.500760, 0.0000, 0.0000, 0.0000);
  42.     CreateObject(2406, 3380.445068, 2360.466309, 3.683697, 0.0000, 0.0000, 90.0000);
  43.     return 1;
  44. }
  45.  
  46. public OnFilterScriptExit()
  47. {
  48.     return 1;
  49. }
  50.  
  51. public OnPlayerConnect(playerid)
  52. {
  53.     TextDrawShowForPlayer(playerid, Text:NWORP1);
  54.     return 1;
  55. }
  56.  
  57. public OnPlayerDisconnect(playerid, reason)
  58. {
  59.     TextDrawHideForPlayer(playerid, Text:NWORP1);
  60. }
  61.  
  62. public OnPlayerCommandText(playerid, cmdtext[])
  63. {
  64.     if(!strcmp(cmdtext, "/island", true))
  65.     {
  66.     SetPlayerPos(playerid,3384.8450,2337.4966,2.5300);
  67.     GameTextForPlayer(playerid, "~g~Las Venturas Island~n~ ~r~by RoamPT",5000,1);
  68.     return 1;
  69.     }
  70.     return 0;
  71. }