Advertisement
DraKiNs

[Include] [iPs]Streamer V3

Oct 4th, 2011
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.75 KB | None | 0 0
  1. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. //    [iPs]TeaM Object Streamer 0.3bcd (V3)
  4. //          Author: Bruno da Silva
  5. //       www.ips-team.blogspot.com
  6. //
  7. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  8.  
  9.  
  10. // IPS STREAMER OBJECT
  11. // VERSION 0.3D
  12. // WWW.IPS-TEAM.BLOGSPOT.COM
  13.  
  14. #define MoveObject          MoveObjectInterval
  15. #define DestroyObject           DestroyObjectInterval
  16. #define CreateObject            CreateObjectInterval
  17. #define GetMapXMLParam  GetMapXMLParamInterval
  18. #define CreateObjectsFromMAPFile    CreateObjectsFromMAPInterval
  19. #define CreateObjectsFromTXTFile    CreateObjectsFromTXTInterval
  20.  
  21.  
  22. stock MoveObjectInterval(objectid, Float:pX, Float:pY, Float:pZ, Float:Speed, Float:rotX = -1000.0, Float:rotY = -1000.0, Float:rotZ = -1000.0)
  23. {
  24.     return CallRemoteFunction("moveObject", "ifffffff", objectid, pX, pY, pZ, Speed, rotX, rotY, rotZ);
  25. }
  26.  
  27. stock DestroyObjectInterval(objectid)
  28. {
  29.     return CallRemoteFunction("deleteObject", "i", objectid) ;
  30. }
  31.  
  32. stock CreateObjectInterval(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 350.0, interior = 0, worldids = 0)
  33. {
  34.     return CallRemoteFunction("createObject", "dfffffffdd", modelid, X, Y, Z, rX, rY, rZ, DrawDistance, interior, worldids);
  35. }
  36.  
  37. stock GetMapXMLParamInterval(string[], param[])
  38. {
  39.     return CallRemoteFunction("getMapXMLParam", "ss", string, param);
  40. }
  41.  
  42. stock CreateObjectsFromMAPInterval(arquivo[])
  43. {
  44.     return CallRemoteFunction("createObjectsFromMAPFile", "s", arquivo);
  45. }
  46.  
  47. stock CreateTXTFileInterval(arquivo[], split)
  48. {
  49.     return CallRemoteFunction("createObjectsFromTXTFile", "sd", arquivo, split);
  50. }
  51.  
  52. // ipsstream.inc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement