Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Sebastian

#1127
Ok, I just retested the whole script in a blank server, and it works without a problem...
The problem is in your script. You better test it yourself in a blank server, and you will see that it is working fine.

(this only if you are sure you added everything in the right place, like I did here)
#1128
What is the error name/definition you get in console ???

* sseebbyy hopes this to not result in something like this...
#1129
What error do you get, ali_vcmp ?
#1131
Hahaha, I was wondering what happened to this idea.
Waiting to see how it look when you are not on the top of it. :D
#1132
There is no "For" in this function, but "From" !

HideForPlayer - incorrect syntax
HideFromPlayer - correct syntax
#1133
I just tested it again. Works fine for me. :/
#1134
Quote from: RATHORE on Nov 23, 2014, 09:15 PMBro i did this for getting district name but the name is not changing when player goto other district here is my code

dis <- CreateTextdraw("District: " + GetDistrictName( player.Pos.x, player.Pos.y ) + "",20,550,0xFFFF0000);

dis.ShowForPlayer(player);

Similar "problem":
Quote from: You should understandBro i did this for changing vehicle model but the model is not changing
here is my code

dis <- CreateVehicle(blabla);

How do you expect for it to change, when you just create another textdraw ?
You have to remove the old one, then create the new one having the correct district name.
#1136
When devs implemented GUI., textdraws have been moved to client-side scripting.
This system will no longer work, since version 04rel004.




Nitrous Oxide Systems


There are 2 versions:
[spoiler=Simple]http://pastebin.com/yUVWi8CqYou can use the nitro whenever you want. :)
Just press ALT KEY and the nitro will be activated.
The bar will be shown, but will not decrease. For that, use the "Real" version of this script.
[/spoiler][spoiler=Real]http://pastebin.com/sTredBbSYou can use the nitro just once at very 60 seconds. (you can change the value)
There are 10 units on the nitro bar, representing the quantity of nitro remained.
Once the tank is emty, you have to wait until it's refilled.
( but do not wait to see it refilling. I decided to not use another timer, so I used time(). You can check the tank by pressing ALT KEY or re-entering car )
The tank is decreasing even if there is no driver, as it should be.[/spoiler]

To make this (smoother) nitro script, instead of just speed boosting vehicles, I have played with vehicle's handling data.
I set it to increase Acceleration and MaxSpeed, and when the nitro is deactivated, all values returns to normal.

You need to copy the needed (2) sprites !
(or just download by clicking on them)

You can also create your own sprites, but be careful when you adapt the code.
Add them to ...server/store/sprites/....here

Enjoy it ! ;)
#1137
If you are going to use this script, do not forget to add a script that will remove the too old death messsages. ;)
#1138
Quote from: stormeus on Nov 18, 2014, 09:14 PMTry playing around with the offset option for the hat. There is also a rotation option, identical to offset (Vector), that rotates the hat as well, and a scale option (float) that resizes the hat.

I will try, once I recover my motivation.

Quote from: Thijn on Nov 19, 2014, 08:59 PMWhy is it white? Looks like some texture files aren't being loaded properly.

I didn't add any texture on it, yet.

Quote from: RATHORE on Nov 20, 2014, 05:56 AMTry this working for me awesome Clicky

I already have the file, but thanks. ;)



Thanks all for the replies ! :)
#1139
Quote from: S.L.C on Nov 19, 2014, 04:17 PMThat forum is down.

now*
It was working good when I gave the link.
Check it in a few minutes/days, maybe it will be back up again.
#1140
It has already been discussed. Check this link:
http://forum.vicecitymultiplayer.com/index.php?topic=6115.0