English How to add a picture

5 replies
Goto Page
To the start Previous 1 Next To the start
10.01.14 05:24:36 pm
Up
Crypt
User
Offline Off
Hello everyone! help how putting in a picture may be his server in it that let him be visible and this not for me that the map but onto the screen code if he may be! thank you!

Admin/mod comment:

"Heelp" is a bad title and you know it because you added an extra e to be able to use it anyway... shame on you! /DC
10.01.14 05:27:07 pm
Up
Avo
User
Offline Off
If understood correctly, you want all server players to see images used by your scripts. Change servertransfer.
10.01.14 05:29:17 pm
Up
Crypt
User
Offline Off
I do not take it so but how may be one like that that on 1 part of the screen it let a picture appear?
- like what IRAN TOWN picture?
10.01.14 05:41:12 pm
Up
Avo
User
Offline Off
Okay, it seems I CAN'T understand you. Try to pm someone from your country if you can't speak English.
10.01.14 05:42:49 pm
Up
Fehu
User
Offline Off
I can't understand you, lol.
I think you mean this;

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
_simple={}
_simple.images = {}

for id = 1, 32 do
     _simple.images[id] = {}
end

function _simple.update(id)
     local yaimg = image("gfx/cs2d.bmp",0,0,2,id)     --Change dir for your image.
     _simple.images[id].imgname = yaimg
     imagepos(yaimg,64,64,0)     --Your image pos.
end

addhook('join',          '_simple.join')
function _simple.join(id)
     _simple.update(id)     --Create image on join.
end


I wrote it now, so it may have errors.

//Edit: I found no errors, and if you want to remove image - use freeimage(yaimg).
IMG:http://www.flashflashrevolution.com/profile/newsiggy/Fehu/stardust/0/0-1-2-3-4-5.png
10.01.14 05:46:09 pm
Up
Crypt
User
Offline Off
THX
To the start Previous 1 Next To the start