How to set that object will usually move..
#1

Hello, I want to create some minigames for christmas, and i want to create some objects that they will move
non stop..
they will move left, and then right, back left and again right, you know.. like this claiming games.
Reply
#2

try this tutorial https://sampwiki.blast.hk/wiki/MoveObject
Reply
#3

I don't want it to move with a command..
When players join the server.. I want that this boxes will move usually left-right..
for all the players.
Reply
#4

Well, I think you can set a timer at 100 ms wich it's setted to true and will move non-stop. For example under OnGameModeInit() or OnFilterScriptInit():

pawn Код:
SetTimer(''Move'', 100, true);
I don't have '', so replace them with correct symbol.

And then create the public:

pawn Код:
forward Move();
public Move()
{
    MoveObject(...................);
    return 1;
}
MoveObject.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)