SA-MP Forums Archive
[Include] [INC]G_ObjectsRot - New objects functions! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC]G_ObjectsRot - New objects functions! (/showthread.php?tid=151452)

Pages: 1 2 3


Re: [INC]G_ObjectsRot - New objects functions! - Silent.Hunter - 01.06.2010

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!


Re: [INC]G_ObjectsRot - New objects functions! - ~Ricky~ - 01.06.2010

That really awsome.
I'll use it.


Re: [INC]G_ObjectsRot - New objects functions! - mansonh - 01.06.2010

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.


Re: [INC]G_ObjectsRot - New objects functions! - MedinaRockz - 01.06.2010

God job gantzyo


Re: [INC]G_ObjectsRot - New objects functions! - Gantzyo - 02.06.2010

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


Re: [INC]G_ObjectsRot - New objects functions! - TAB - 23.08.2010

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);



Re: [INC]G_ObjectsRot - New objects functions! - armyoftwo - 23.08.2010

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


Re: [INC]G_ObjectsRot - New objects functions! - Cameltoe - 23.08.2010

That's nice!


Re: [INC]G_ObjectsRot - New objects functions! - armyoftwo - 24.08.2010

****** 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);



Re: [INC]G_ObjectsRot - New objects functions! - homijs - 24.08.2010

Just awesome


Re: [INC]G_ObjectsRot - New objects functions! - Ectazy - 21.03.2011

How to crate a barrier?


Re: [INC]G_ObjectsRot - New objects functions! - Admigo - 22.04.2011

Can someone explain a command for rot?


Re: [INC]G_ObjectsRot - New objects functions! - smith_95 - 09.06.2011

someone can host me this include ?


Re: [INC]G_ObjectsRot - New objects functions! - cruising - 16.06.2011

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[])



Re: [INC]G_ObjectsRot - New objects functions! - Phanto90 - 16.06.2011

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


Re: [INC]G_ObjectsRot - New objects functions! - morris91 - 22.06.2011

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.


Re: [INC]G_ObjectsRot - New objects functions! - BASITJALIL - 22.06.2011

Nice work


Re: [INC]G_ObjectsRot - New objects functions! - Patrik356b - 24.06.2011

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


Re: [INC]G_ObjectsRot - New objects functions! - Dripac - 01.10.2011

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'


Re: [INC]G_ObjectsRot - New objects functions! - Flyfishes - 01.10.2011

Awesome, wonderful work!