![]() |
imgpart help :(
im trying to make a single bit of a waterfall, but my script wont work :(
PHP Code:
|
PHP Code:
Dude, I suggest you start learning GS2 immediately, it's worlds easier than GS1. >.> |
Quote:
|
His //#CLIENTSIDE kind of kills that theory.
|
or better yet
PHP Code:
Quote:
|
Ah god u guys are no help, can u like explain ur scripts or somthing cause they dont work x.x
and chicken boy why would i want a block? I WANT PART OF THE WATERFALL!!!! MY GOD! |
Well you don't exactly tell us what's not working with your script.
|
Quote:
|
Quote:
Either way, you can do the setimgpart clientside only and not worry about the serverside, since there doesnt need to be a shape serverside with no block. |
When I say block I meant not able to walk on. Do you wat us to define setimgpart?
GS2: setimgpart( "FileName", x, y, width, height); GS1: setimgpart FileName, x, y, width, height; Key: Filename : Image your wanting to use. x : where should the pixel start displaying horizontally, e.g. if it is set to 16 the image will be cut up and the first 16 pixels on the left will not show. y: where should the pixel start displaying vertically, e.g. if it is set to 16 the image will be cut up and the first 16 pixels on the top will not show. width : How wide should the image be displayed from the x. height : How tall should the image be displayed from the y. Example: The default image is 32 px by 32 px GS2: PHP Code:
PHP Code:
._ ._ |_|_| |_|_| <- this lower right box will only be shown. |
Quote:
Why not ask questions and from the responses try to figure it out yourself? I can understand you wanting to learn to script. But if you're going to be rude, and tell us things like: Quote:
|
I taught myself by snooping through levels as a novice LAT about 3-4 years ago on Trinity. I asked a few questions on RC, experimented with what I read in the code, and got as far as I am now. A lot of scripters and NATs dislike my coding because it's sloppy in their eyes. That's because I'm a self-taught scripter and had no knowledge of programming outside of Graal. My scripts, however, are very functional and secure. For example, I made on Era
~gang doors ~gang metal detectors ~event: outbreak ~et control ~business stocking/buying system ~business scrolling speakers ~elevators ~keypads and a lot more. Moral of the story is to experiment with codes you see, ask about the functionality of a segment you don't quite understand, and put it to different use in your own code. |
Quote:
|
Quote:
|
Quote:
and sory if i sound rude, but when i check the forums usualy its lat at night and im half dead/drunk felling xD |
haha no problem, glad to help :P
|
| All times are GMT +2. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.