[Include] [INC]G_ObjectsRot - New objects functions!
#21

pawn Код:
C:\xxx\xxx\xxx\xxx\gamemodes\xxx.pwn(22832) : error 017: undefined symbol "RotateObject" Pawn compiler 3.2.3664         Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
if(!strcmp(cmd, "/open", true))
{
  new Float:X;
  new Float:Y;
  new Float:Z;
  GetObjectRot(taxigate,X,Y,Z);
  RotateObject(taxigate,X,Y,Z-90,90,50.0); //the error line
  return 1;
}
I have the include...
How to fix it?

FIXED!!


Very nice and usefull include. Thanx!
Reply
#22

That really awsome.
I'll use it.
Reply
#23

Neet script.
But as mentioned
Quote:
Originally Posted by Fro1sha
Timer 20 ms, not good . If many objects use rot, the server can hang from a timer
Really small timers lag your server badly.
I guess if your server has a very limited set of objects rotating at any one time you might get away with it.
I have tried using object rotation, and even at a 100ms timer it can cause problems.

But overall, nice "first?" release.
Reply
#24

God job gantzyo
Reply
#25

Quote:
Originally Posted by mansonh
Really small timers lag your server badly.
I guess if your server has a very limited set of objects rotating at any one time you might get away with it.
I have tried using object rotation, and even at a 100ms timer it can cause problems.
I know that a very small timer lags the server, but it's easy to solve, you just need to use a less value in "points" function and "speed" function.
Quote:
Originally Posted by mansonh
But overall, nice "first?" release.
Not first, I have already scripted a lot of things, but not in english.

Thanks to every one for comments
Reply
#26

Pleas tell my, why it goes soo fast?

Код:
if(Count == 0)
{
Count--;
KillTimer(Count);
CreateExplosion(xXx, yYy, zZz, 6, 3);

SetObjectRotationSpeed(Tower, 10.0);
RotateObject(Tower, 85.0, 115.0, 0.0, 1, 10.0);
MoveObject(Tower, -60.852097, 2510.661865, 18.011074, 0.0);
Reply
#27

Thank you, that's what i needed, had some problems with rotation.
Reply
#28

That's nice!
Reply
#29

****** is right, how can i fix this?
It just jumps if i want to rotate the object
Код:
    RotateObject(gateid,oR[0], oR[1], oR[2]+rotate, 1, speed);
Reply
#30

Just awesome
Reply
#31

How to crate a barrier?
Reply
#32

Can someone explain a command for rot?
Reply
#33

someone can host me this include ?
Reply
#34

I cant understand how to use this, maybe a tutorial would be nice so everyone could be able to use this?
And how to make the cmds without OnPlayerCommandText,
pawn Код:
COMMAND:my command(playerid, params[])
Reply
#35

Quote:
Originally Posted by Aleks7
Посмотреть сообщение
Very good.
It work on Incognito streamer?
No only works for "Normally" CreateObject i think
Reply
#36

Quote:
Originally Posted by cruising
Посмотреть сообщение
I cant understand how to use this, maybe a tutorial would be nice so everyone could be able to use this?
And how to make the cmds without OnPlayerCommandText,
pawn Код:
COMMAND:my command(playerid, params[])
i agree, maybe post a example script. would help alot.

But nice script.
Reply
#37

Nice work
Reply
#38

How does this and this: https://sampforum.blast.hk/showthread.php?tid=75493 compare?
Reply
#39

That's not working on o.3d RC3

//Edit, sry i just had some brackets missed, so it told me something about this filterscript

now it's workin'
Reply
#40

Awesome, wonderful work!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)