[Filterscript] Simple locking - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Filterscript] Simple locking (
/showthread.php?tid=95084)
[Filterscript] Simple locking -
JaTochNietDan - 02.09.2009
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
Re: [Filterscript] Simple locking -
(.Aztec); - 02.09.2009
Oh wow, this IS simple, thanks!
Re: [Filterscript] Simple locking -
Blantas - 20.09.2009
You should test your script before giving it to others.
Re: [Filterscript] Simple locking -
MenaceX^ - 20.09.2009
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.
Re: [Filterscript] Simple locking -
MultiGamer - 20.09.2009
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
Re: [Filterscript] Simple locking -
Blantas - 20.09.2009
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...
Re: [Filterscript] Simple locking -
Joe Staff - 20.09.2009
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.
Re: [Filterscript] Simple locking -
saiberfun - 20.09.2009
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
Re: [Filterscript] Simple locking -
d0 - 20.09.2009
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
Re: [Filterscript] Simple locking -
Kyosaur - 20.09.2009
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.