El_Dindonnier
Unregistered
How to change respawn for class ? (I have see 1 respawn for ALL Oo)
I have see that :
http://web.miragesource.com/old-tutorial...asses.html
But don't work.
Can I help me please ?
Thanks you in advance.
Change the map number to the one you want....same with the x/y coords.
The tutorial you linked shows exactly how to do it. Just don't leave 1 for all the maps.
Yeah there are many ways you could do it.
You could save it to the class file. You could have it in the code. You could let the player pick from a few different starting positions. Etc etc...
El_Dindonnier
Unregistered
When i change that :
Code:
Public Const START_MAP = 1
Public Const START_X = MAX_MAPX / 2
Public Const START_Y = MAX_MAPY / 2
With :
[code]public START_MAP as byte
Public START_X as byte
Public START_Y as byte
select case getplayerclass(index)
case 0
START_MAP = 1 '
Make a sub and when you load your classes or something call it.
If you don't know how to do this, I'll write you something simple.
El_Dindonnier
Unregistered
shaded Wrote:Make a sub and when you load your classes or something call it.
If you don't know how to do this, I'll write you something simple.
Sorry

I don't understand.
You can write the sub for me ? please ?
Thanks you in advance.
I will in a bit, my friend stopped over. Going out for some beer.
Ok.,...I am hammmered!
Sub ClassStartPosition(Byval ClassNum)
Enter select case thing
end sub
Change start position consamts and turn them into pbuliv as tutorial says.
Call classstartpostion(GetClassNumber)
Call this in load classes with you intitialtize the clasees when server starts!
:twisted: :twisted: :twisted: :twisted: :twisted:
Wow smahamered!
pm me I will egt you something mor legible
El_Dindonnier
Unregistered
It's work ! :mrgreen:
Thanks you shaded and GIAKEN for your help !
lol Sorry I wasn't more helpful. Last night it was suppose to be one of those "1 beer" moments at the bar.....