09.11.2010, 17:33
I want a streamer that includes the CreatePlayerObject, anybody knows one ?
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
stock CreateDynamicPlayerObject(playerid, modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:distance = 200.0)
{
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid, Float:distance = 200.0);
}
Use this if you want..
pawn Код:
|
#define CreateDynamicPlayerObject(%0,%1,%2,%3,%4,%5,%6,%7,%8) \
CreateDynamicObject((%1),(%2),(%3),(%4),(%5),(%6),(%7),-1,-1,(%0),(%8))