Advertisement
Higor_Gamer

[FS]Outdoor

Jan 12th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.95 KB | None | 0 0
  1. #include <a_samp>
  2. new outdoor[3];
  3. /*==============================================================================*/
  4. forward PrimeroFS(playerid);
  5. forward PrimeroFS1(playerid);
  6. /*==============================================================================*/
  7. forward Higor_Gamer(playerid);
  8. forward Higor_Gamer1(playerid);
  9. /*==============================================================================*/
  10. public OnGameModeInit()
  11. {
  12.     outdoor[0] = CreateObject(7914, 1296.21008, -1862.49353, 19.79321,   0.00000, 0.00000, 179.41060);
  13.     SetObjectMaterialText(outdoor[0], "Primero [FS]", 0, 70, "ravie", 22, 0, -1, -16776961, 1);
  14.  
  15.     outdoor[2] = CreateObject(7914, 1296.21008, -1862.53357, 19.79321,   0.00000, 0.00000, 179.41060);
  16.     SetObjectMaterialText(outdoor[2], "Higor_Gamer", 0, 70, "ravie", 22, 0, -1, -16776961, 1);
  17.  
  18.     SetTimer("PrimeroFS",1,1);
  19.     return 1;
  20. }
  21. public OnGameModeExit()
  22. {
  23.     return 1;
  24. }
  25. public PrimeroFS(playerid)
  26.     {
  27.     MoveObject(outdoor[0], 1296.21008, -1862.49353, 19.79321, 1);// Posição dele acezo
  28.     SetTimer("PrimeroFS1",1,1);
  29.     return 1;
  30.     }
  31. public PrimeroFS1(playerid)
  32.     {
  33.     MoveObject(outdoor[0], 1296.21008, -1862.53357, 19.79321, 1);// Posição dele apagado
  34.     SetTimer("Higor_Gamer",1,1);
  35.     return 1;
  36.     }
  37. public Higor_Gamer(playerid)
  38.     {
  39.     MoveObject(outdoor[2], 1296.21008, -1862.49353, 19.79321, 1);// Posição dele acezo
  40.     SetTimerEx("Higor_Gamer1", 1000, 0, "d", playerid);
  41.     SetTimer("Higor_Gamer1",1,1);
  42.     return 1;
  43.     }
  44. public Higor_Gamer1(playerid)
  45.     {
  46.     MoveObject(outdoor[2], 1296.21008, -1862.53357, 19.79321, 1);// Posição dele apagado
  47.     SetTimer("PrimeroFS",1,1);
  48.    
  49.     return 1;
  50.     }
  51. public OnPlayerCommandText(playerid, cmdtext[])
  52. {
  53.     if (strcmp("/ir", cmdtext, true, 10) == 0)
  54.     {
  55.         SetPlayerInterior(playerid,0);
  56.         SetPlayerPos(playerid,1288.5880, -1859.4281, 13.1516);
  57.         GameTextForPlayer(playerid,"~g~Primero [FS]",4000,6);
  58.         return 1;
  59.     }
  60.     return 0;
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement