IsPlayerInArea
#1

Hi all,
http://pastebin.com/m6e2b1b41
I have a question,
I want to create a 2nd checkpoint, (the player needs to bring the oil back to his base), but it didn't worked with a checkpointstreamer.
So now I want to try it with 'IsPlayerInArea', but how can I do this?

Reply
#2

Do you actually need 2 checkpoints on at one given moment for one player? because if you need a pickup to get the oil, and a pickup to deliver it it would be easiest scripting it that way. Otherwise I suggest you look at this thread, as it contains not only the code you need, but a script to help you get the co-ordinates.
Reply
#3

Quote:
Originally Posted by Weirdosport
Do you actually need 2 checkpoints on at one given moment for one player?
Euhm nope, If the player, if he's an attacker, spawns, he get's 1 checkpoint to get the oil.
If he has the oil then, he needs to return it to there base.
But about your pickupmethod, didn't think about that
Reply
#4

I meant checkpoint, but hey if pickups work for you then fine. The only disadvantage is that you don't get a checkpoint on the minimap. And make sure you use a vehicle compatible pickup!
Reply
#5

Quote:
Originally Posted by Weirdosport
I meant checkpoint, but hey if pickups work for you then fine. The only disadvantage is that you don't get a checkpoint on the minimap. And make sure you use a vehicle compatible pickup!
Oh yea sry my fault, nvm that about pickups.
But you solved my problem by giving the FS, ty for that
Reply
#6

Not a problem.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)