Solved cannot get players direction to push vehicle in player's direction

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

robert300

Member
Sep 25, 2021
1
0
1
i tried this:
Code:
on rightclick:
    player has permission "tc.ride"
    if player's tool is a blue dye:
        if name of player's tool contains "&bPush vehicle forwards":
            make player execute command "/pveh"
            
command /pveh:
    trigger:
        player has permission "tc.ride"
        set {_veh} to vehicle of the player
        push {_veh} in direction of the player forwards at speed 1

and this

Code:
on rightclick:
    player has permission "tc.ride"
    set {_veh} to vehicle of the player
    push {_veh} in direction of the player forwards at speed 1

but still gotting

Code:
Can't understand this condition/effect: push {_veh} in direction of the player forwards at speed 1 (hallowensw.sk, line 39: push {_veh} in direction of the player forwards at speed 1')
[doublepost=1632561098,1632556864][/doublepost]i fixed it, close the thread pls
 
Status
Not open for further replies.