Hello! I want to make a check with an event on command "/setjob". I did loop all players but can’t figure out how to make a check that this command specified loop-player? Like, he tried to do something like this but it didn’t work out
.
Here’s my code:
`
on command "/setjob":
loop all players in world "SCPRP":
if loop-player's vehicle is set:
if command contains "%loop-player%":
if name of vehicle of loop-player is "&eSeat":
delete vehicle of loop-player`
Posted by: elgerelg from the skUnity Discord. View the thread on skUnity Discord here
Here’s my code:
`
on command "/setjob":
loop all players in world "SCPRP":
if loop-player's vehicle is set:
if command contains "%loop-player%":
if name of vehicle of loop-player is "&eSeat":
delete vehicle of loop-player`
Posted by: elgerelg from the skUnity Discord. View the thread on skUnity Discord here