Add streamer -
Chris_Morrison - 17.10.2011
Hello
what i need to do if i want add streamer
i want put this streamer on my gamemode
https://sampforum.blast.hk/showthread.php?tid=102865
I need add all natives too?what i need to put in my game mode exatly?
Re: Add streamer -
Vince - 17.10.2011
Just add this line beneath your other includes:
Then just replace CreateObject with CreateDynamicObject (use search and replace function) and you're done.
Re: Add streamer -
Chris_Morrison - 17.10.2011
the moving gates too?
Re: Add streamer -
Stigg - 17.10.2011
Quote:
Originally Posted by Chris_Morrison
the moving gates too?
|
pawn Код:
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);
native DestroyDynamicObject(objectid);
native IsValidDynamicObject(objectid);
native SetDynamicObjectPos(objectid, Float:x, Float:y, Float:z);
native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z);
native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);
native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);//move objects
native StopDynamicObject(objectid);
native DestroyAllDynamicObjects();
native CountDynamicObjects();
https://sampforum.blast.hk/showthread.php?tid=102865
Re: Add streamer -
Chris_Morrison - 17.10.2011
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\pawno\include\streamer.inc(106) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\pawno\include\streamer.inc(111) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\pawno\include\streamer.inc(112) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\pawno\include\streamer.inc(113) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Lines:
pawn Код:
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);-Line 107
native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);-112
native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);-113
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);-114
Please help me i need script and i can't with this errors! i must have a streamer!
I replace all you told me
Re: Add streamer -
Stigg - 17.10.2011
You leave out the 'native' part:
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);-112
GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);-113
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);-114
Re: Add streamer -
Chris_Morrison - 17.10.2011
What i need to do with this things?put it in my game mode?
Re: Add streamer -
Chris_Morrison - 17.10.2011
Help?
Re: Add streamer -
Stigg - 17.10.2011
Your not even trying to help yourself, you just want spoon feeding.
Read the streamers thread:
https://sampforum.blast.hk/showthread.php?tid=102865
Then i suggest reading:
https://sampwiki.blast.hk/
Everything you need is there, no biggie.
Re: Add streamer -
Chris_Morrison - 17.10.2011
I didn't understand what i need to do with the Natives and how to fix the errors