Idea for new Function - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Idea for new Function (
/showthread.php?tid=95695)
Idea for new Function -
BlackFoX - 04.09.2009
Question for Kye , can you add the Function MoveObjectRot ? , i think thats usefull for many Sa-mp User
Re: Idea for new Function -
antonio20001 - 04.09.2009
also DisconnectNPC and also GetTrafficLightsState (to see if a traffic light is green yellow or red). Also StopNPConTrafficLight to stop an NPC when the nearest semaphore is for example yellow or red
Re: Idea for new Function -
dice7 - 04.09.2009
This is kinda related so I'm wondering if It's possible to make MoveObject so It actually moves the object and not destroys and recreates it, so if a player is on the object, it will move along. I know I could just adjust the players position with the objects, but that makes the moving choppy. So is it possible ?
Re: Idea for new Function -
klavins - 04.09.2009
traffic lights would be possible, because in SP bots actually recognize colors
Re: Idea for new Function -
Gamer_Z - 04.09.2009
Quote:
Originally Posted by BlackFoX
Question for Kye , can you add the Function MoveObjectRot ? , i think thats usefull for many Sa-mp User
|
well SetObjectRot is not included?... make ex every 10ms setobjectrot(rot+1).. isn't that easy?
but ok moveobjectrot(objid,rot,speed) wouild be very usefull
Re: Idea for new Function -
BlackFoX - 04.09.2009
yeah it is easy but native Functions alot faster better than Timers or loops
Re: Idea for new Function -
Daem - 04.09.2009
mate, MoveObjectRot can be done by scripting
Re: Idea for new Function -
BlackFoX - 05.09.2009
I done it allready by Scripting but i mean native Function is better cause it is a native and it is faster than Loops and Timers
MoveObject can to done by Scripting but there is allready a Native Function , i think the MoveObjectRot Function is very usefull for many
Servers
Re: Idea for new Function -
MaTrIx4057 - 05.09.2009
Quote:
Originally Posted by klavins
traffic lights would be possible, because in SP bots actually recognize colors 
|
Not possible as you use recorded file, it will do all that you done.
Re: Idea for new Function -
Anthony413 - 06.09.2009
Quote:
Originally Posted by TheMaTrIx4057
Quote:
Originally Posted by klavins
traffic lights would be possible, because in SP bots actually recognize colors 
|
Not possible as you use recorded file, it will do all that you done.
|
Thats true, if there was some way to control traffic lights this would work perfectly. You could record it stopping when its red, etc, and then sync it by controlling the traffic lights

!