I've been wondering around a bit lately.
#1

So, I want to make this script that lets you drive cows. I'm obviously going to do this with Kye's MapAndreas plugin.

Now here's my question:
*) I probably will use OnPlayerUpdate and I'll probably call 'MapAndreas_FindZ_For2DCoord' every time нt's used. Now even though my script is based for my own experience, and to show you that you need to use your imagination, will it lag on a homehost?
Reply
#2

Nope, it won't have any considerable lag when you home-host your server and play on it. I use OnPlayerUpdate for some scripts and I don't experience any difference whatsoever.
Reply
#3

Possibly. The MapAndreas plugin does use some horrible amounts of memory, and calling it every player update... not to wise.

You'd be better off doing some other way, like setting a timer every few seconds. Even if a timer runs every second, it'll still be called less than OnPlayerUpdate.
Reply
#4

Well the thing is I'm trying to make cows a bit of 'drivable', so they'd need to drive without too much lag.

As for Grim: Yeah, it uses 70MB of RAM I saw.

I'll try out some things. Thanks in advance, more comments are allowed
Reply
#5

Just to say, it wouldn't be TO terrible unless you had a good amount of players and a not so good computer.

If you were using it just to drive around yourself for the lol's it should be fine. However, testing is the best way to figure it out
Reply
#6

It's just for fun to drive cows around in your own, empty homehost server. This isn't based for regular servers ^^.
Reply


Forum Jump:


Users browsing this thread: