Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.39 KB | None | 0 0
  1. Portao 1 da pf
  2.  
  3.  
  4.  
  5. public OnGameModeInit()
  6. {
  7. PortaoBasePF = CreateObject(971, 365.10000610352, -1469.4000244141, 31.39999961853, 0.0000, 0.0000, 38.0000);
  8.  
  9. return 1;
  10. }
  11.  
  12. public OnPlayerCommandText(playerid, cmdtext[])
  13. {
  14.     if(strcmp(cmdtext, "/apf1", true) == 0)
  15.     {
  16.         MoveObject(PortaoBasePF,365.10000610352, -1469.4000244141, 31.39999961853, 3.0);
  17.         SendClientMessage(playerid, 0x9E3EFFAA, " Abrindo PORTAO de PF...");
  18.         return 1;
  19.     }
  20.     if(strcmp(cmdtext, "/fpf1", true) == 0)
  21.     {
  22.         MoveObject(PortaoBasePF,365.10000610352, -1469.4000244141, 26.700000762939, 3.0);
  23.         SendClientMessage(playerid, 0x9E3EFFAA, " Fechando PORTAO de PF...");
  24.         return 1;
  25.     }
  26.    
  27.     return 0;
  28. }
  29.  
  30.  
  31.  
  32. Portao 2 da pf
  33.  
  34.  
  35.  
  36. public OnGameModeInit()
  37. {
  38. PortaoBasePF2 = CreateObject(971, 310.79998779297, -1555.3000488281, 31.299999237061, 0.0000, 0.0000, 322.0000);
  39.  
  40. return 1;
  41. }
  42.  
  43. public OnPlayerCommandText(playerid, cmdtext[])
  44. {
  45.     if(strcmp(cmdtext, "/apf2", true) == 0)
  46.     {
  47.         MoveObject(PortaoBasePF2,310.79998779297, -1555.3000488281, 27.299999237061, 3.0);
  48.         SendClientMessage(playerid, 0x9E3EFFAA, " Abrindo PORTAO de PF...");
  49.         return 1;
  50.     }
  51.     if(strcmp(cmdtext, "/fpf2", true) == 0)
  52.     {
  53.         MoveObject(PortaoBasePF2,310.79998779297, -1555.3000488281, 31.299999237061, 3.0);
  54.         SendClientMessage(playerid, 0x9E3EFFAA, " Fechando PORTAO de PF...");
  55.         return 1;
  56.     }
  57.    
  58.     return 0;
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement