[Filterscript] Simple locking
#1

This is a quick example of how to keep your vehicles locked using /lock and /unlock with the new vehicle streaming system.

http://jatochnietdan.pastebin.com/261F9mwk

This is here in-case people ask, you know they will
Reply
#2

Oh wow, this IS simple, thanks!
Reply
#3

You should test your script before giving it to others.
Reply
#4

Quote:
Originally Posted by Blantas ;P*~
You should test your script before giving it to others.
You should look at the script before saying so.
Reply
#5

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by Blantas ;P*~
You should test your script before giving it to others.
You should look at the script before saying so.
LOL
Reply
#6

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by Blantas ;P*~
You should test your script before giving it to others.
You should look at the script before saying so.
It seems that you do not understand how the script works...
Reply
#7

Quote:
Originally Posted by Blantas ;P*~
Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by Blantas ;P*~
You should test your script before giving it to others.
You should look at the script before saying so.
It seems that you do not understand how the script works...
Seems pretty inline to me.

Lol, except it says 'forplayerid' instead of 'playerid' under OnPlayerCommandText.
Reply
#8

not sure but doesn't this lock it for everyone?
shouldnt u check at the loop if forplayerid = playerid?
well i dunn if that is right but im just wondering.
never really worked with vehicleparams
Reply
#9

Quote:
Originally Posted by SaiBerFun
not sure but doesn't this lock it for everyone?
shouldnt u check at the loop if forplayerid = playerid?
well i dunn if that is right but im just wondering.
never really worked with vehicleparams
yeah you are right

changed version http://pastebin.com/f52f509ec
Reply
#10

Quote:
Originally Posted by SaiBerFun
not sure but doesn't this lock it for everyone?
shouldnt u check at the loop if forplayerid = playerid?
well i dunn if that is right but im just wondering.
never really worked with vehicleparams
Thanks what it is suppose to do, you cant just lock it for one person (that would be pointless) so you loop through ALL the players on the server and lock it for all of them too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)