Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- // [iPs]TeaM Object Streamer 0.3bcd (V3)
- // Author: Bruno da Silva
- // www.ips-team.blogspot.com
- //
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // IPS STREAMER OBJECT
- // VERSION 0.3D
- // WWW.IPS-TEAM.BLOGSPOT.COM
- #define MoveObject MoveObjectInterval
- #define DestroyObject DestroyObjectInterval
- #define CreateObject CreateObjectInterval
- #define GetMapXMLParam GetMapXMLParamInterval
- #define CreateObjectsFromMAPFile CreateObjectsFromMAPInterval
- #define CreateObjectsFromTXTFile CreateObjectsFromTXTInterval
- stock MoveObjectInterval(objectid, Float:pX, Float:pY, Float:pZ, Float:Speed, Float:rotX = -1000.0, Float:rotY = -1000.0, Float:rotZ = -1000.0)
- {
- return CallRemoteFunction("moveObject", "ifffffff", objectid, pX, pY, pZ, Speed, rotX, rotY, rotZ);
- }
- stock DestroyObjectInterval(objectid)
- {
- return CallRemoteFunction("deleteObject", "i", objectid) ;
- }
- stock CreateObjectInterval(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 350.0, interior = 0, worldids = 0)
- {
- return CallRemoteFunction("createObject", "dfffffffdd", modelid, X, Y, Z, rX, rY, rZ, DrawDistance, interior, worldids);
- }
- stock GetMapXMLParamInterval(string[], param[])
- {
- return CallRemoteFunction("getMapXMLParam", "ss", string, param);
- }
- stock CreateObjectsFromMAPInterval(arquivo[])
- {
- return CallRemoteFunction("createObjectsFromMAPFile", "s", arquivo);
- }
- stock CreateTXTFileInterval(arquivo[], split)
- {
- return CallRemoteFunction("createObjectsFromTXTFile", "sd", arquivo, split);
- }
- // ipsstream.inc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement