CreateVehicle for only one player
#1

I want to create vehicle just for one player only, I know that, it is possible, becouse I saw something like that, long time ago, on some sverer but I can't figure how to do that.

Код:
CreateVehicleForPlayer(playerid,vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay);
something like that
Reply
#2

Its not possible
Reply
#3

Quote:
Originally Posted by Emirt
Посмотреть сообщение
I want to create vehicle just for one player only, I know that, it is possible, becouse I saw something like that, long time ago, on some sverer but I can't figure how to do that.

Код:
CreateVehicleForPlayer(playerid,vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay);
something like that
It is possible, but then you wouldn't see any other players, cause you'd be in another virtual world.

One thing I can think of is a vehicle that is only drivable by that specific player, and locked for others.
Reply
#4

Do you want it to be so only that player could drive it or enter it?
Reply
#5

Do it on the basis of RP. From the example you give a player /makemembervip it becomes wipem and maybe the car ride. And something is not possible.
Reply
#6

Quote:
Originally Posted by Hoborific
Посмотреть сообщение
lmao figurate
what the hell ?

Quote:
Originally Posted by Geso
Посмотреть сообщение
It is possible, but then you wouldn't see any other players, cause you'd be in another virtual world.

One thing I can think of is a vehicle that is only drivable by that specific player, and locked for others.
Och, thats what I dind't thing of,VirtualWorld, thanks It will help me
Thanks alot Geso and all of you
Reply
#7

I also remember it from a server: stunt (something). THis is created for one player, since he player is set for another virtual world. So:
pawn Код:
SetPlayerVirtualWorld(playerid, world);
Reply
#8

But if he uses VW method, player won't be able to see others, you will need to set the VW back.
Reply
#9

Quote:
Originally Posted by Mean
Посмотреть сообщение
But if he uses VW method, player won't be able to see others, you will need to set the VW back.
What is the purpose of having a person driving around in a vehicle others can't see?
Reply
#10

Quote:
Originally Posted by hanzen
Посмотреть сообщение
What is the purpose of having a person driving around in a vehicle others can't see?
I have done on my server mini-missions and problem was that, the only one player cudl do that mission at the same time becouse of the cars, I just didn't thing about VW, as I sad problem sloved:P
Thanks anyway
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)