Advertisement
jlalt

salsol

Nov 8th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.23 KB | None | 0 0
  1. #include a_samp
  2. #include zcmd
  3.  
  4. new BalochGate1a,
  5.     BalochGate1b,
  6.      BalochGate2a,
  7.     BalochGate2b
  8. ;
  9.  
  10. public OnFilterScriptInit()
  11. {
  12.     BalochGate1a = CreateObject(988,2417.3, 716, 10.7,0,0,89.995); //object(ws_apgate)(4)
  13.     BalochGate1b = CreateObject(988,2417.3, 710.5, 10.7,0,0,90); //object(ws_apgate)(3)
  14.  
  15.     BalochGate2a = CreateObject(988,2297, 715.79998779297, 10.699999809265,0,0,270); //object(ws_apgate)(2)
  16.     BalochGate2b = CreateObject(988,2297.1000976563, 710.40002441406, 10.7,0,0,272); //object(ws_apgate)(1)
  17.     return 1;
  18. }
  19.  
  20. CMD:bco169(playerid,params[])
  21. {
  22.     MoveObject(BalochGate1a, 2418.1000976563, 706.29998779297, 10.699999809265, 2.5, 0.0, 0.0, 89.999);
  23.     MoveObject(BalochGate1b, 2418.1999511719, 720.29998779297, 10.699999809265, 2.5, 0.0, 0.0, 90);
  24.     new string[128];
  25.     format(string ,sizeof string,"Hello %s, Welcome to Baloch Calony, enjoy!", pName(playerid));
  26.     SendClientMessage(playerid,0xAA3333AA, string);
  27.     return 1;
  28. }
  29.  
  30. CMD:bcc169(playerid,params[])
  31. {
  32.     MoveObject(BalochGate1a, 2417.3, 716, 10.7, 2.5, 0,0, 89.995);
  33.     MoveObject(BalochGate1b, 2417.3, 710.5, 10.7, 2.5, 0.0, 0.0, 90);
  34.     new string[128];
  35.     format(string ,sizeof string,"Good Bye %s, Take care!", pName(playerid));
  36.     SendClientMessage(playerid,0xAA3333AA, string);
  37.     return 1;
  38. }
  39.  
  40. CMD:bco169(playerid,params[])
  41. {
  42.     MoveObject(BalochGate2a, 2296.3000488281, 720.09997558594, 10.699999809265, 2.5, 0.0, 0.0, 270);
  43.     MoveObject(BalochGate2b, 2296.3000488281, 706.40002441406, 10.699999809265, 2.5, 0.0, 0.0, 272);
  44.     new string[128];
  45.     format(string ,sizeof string,"Hello %s, Welcome to Baloch Calony, enjoy!", pName(playerid));
  46.     SendClientMessage(playerid,0xAA3333AA, string);
  47.     return 1;
  48. }
  49.  
  50. CMD:bcc169(playerid,params[])
  51. {
  52.     MoveObject(BalochGate2a, 2297, 715.79998779297, 10.699999809265,2.5,0,0,270);
  53.     MoveObject(BalochGate2b, 2297.1000976563, 710.40002441406, 10.7,2.5,0,0,272);
  54.     new string[128];
  55.     format(string ,sizeof string,"Hello Good Bye %s, Take care!", pName(playerid));
  56.     SendClientMessage(playerid,0xAA3333AA, string);
  57.     return 1;
  58. }
  59.  
  60. pName(playerid)
  61. {
  62.     new playernamez[24];
  63.     if(!IsPlayerConnected(playerid))
  64.     {
  65.         playernamez = "Null";
  66.        
  67.     }
  68.     else
  69.     {
  70.         GetPlayerName(playerid, playernamez, sizeof playernamez);
  71.     }
  72.     return playernamez;
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement