Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Head25.png (https://forums.graalonline.com/forums/showthread.php?t=27758)

Saga2001 04-20-2002 05:33 AM

Head25.png
 
Hey,
About this head being taken away. Well I made an npc today that allows RC players to change their heads from player mode, so I thought maybe it would be a good idea to implement this on servers? If anyone wants it, it is an upgraded server script that is easy to run and use. PM me. Personally I think it would be a great idea.

Kaimetsu 04-20-2002 01:44 PM

NPC Code:

if(actionplayeronline){
if(somecharacteristicofRCs){
setplayerprop #3,rchead.png;
}
}



Maybe not #3, I can't quite remember. But it should be easy to find something that characterises RCs.

zell12 04-20-2002 08:50 PM

What is the point of this, btw?

Saga2001 04-21-2002 05:58 PM

Because my favorite head is head25.png...

Neonight 04-22-2002 01:11 AM

Quote:

Originally posted by Kaimetsu
NPC Code:

if(actionplayeronline){
if(somecharacteristicofRCs){
setplayerprop #3,rchead.png;
}
}



Maybe not #3, I can't quite remember. But it should be easy to find something that characterises RCs.


Jagen:
I don't think that would work, the only way (I think) to set RC heads is using with(allplayers[index]) but I might be wrong, I'll try to find another way when I get a chance

Saga2001 04-22-2002 06:18 AM

Quote:

Originally posted by Neonight


Jagen:
I don't think that would work, the only way (I think) to set RC heads is using with(allplayers[index]) but I might be wrong, I'll try to find another way when I get a chance

I think thats what he meant.

Kaimetsu 04-23-2002 02:38 PM

Quote:

Originally posted by Neonight


Jagen:
I don't think that would work, the only way (I think) to set RC heads is using with(allplayers[index]) but I might be wrong, I'll try to find another way when I get a chance

Hmm, yeah, they don't use system NPCs. But allplayers is icky too :-/ Maybe something that checks for allplayerscount changing - would the most recent player be allplayers[allplayerscount-1]?

Saga2001 04-23-2002 11:13 PM

Quote:

Originally posted by Kaimetsu


Hmm, yeah, they don't use system NPCs. But allplayers is icky too :-/ Maybe something that checks for allplayerscount changing - would the most recent player be allplayers[allplayerscount-1]?

Yes. That is true. Then you just run it again, when the allplayerscount decreases it evens out and when it increases it sets that player's head. Pretty simple, but good so incase you want your RCs to stop getting endless bickerings about the poor conditions of your server, and then ask for hats, money, weaons, etc. :megaeek: :headache:


All times are GMT +2. The time now is 06:15 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.