Southern Posted January 23, 2009 Author Share Posted January 23, 2009 ```Case "/colorz" If GetPlayerAccess(Index) = 0 Then call colorplayername(index, 12) call sendplayerdata(index) Else Call playermsg(index, "You can't use this script", YELLOW) End if Exit sub``````Case "/colorz" call colorplayername(index, 6) call sendplayerdata(index) Exit sub``````Case "/bebaz" baza = TextSay(1) If GetPlayerAccess(Index) > 3 Then call colorplayername(index, baza) call sendplayerdata(index) Else Call playermsg(index, "You can't use this script", YELLOW) End if Exit sub```None of them seem to work….Also tried it on scripted tile, scripted item, and even scripted npc xD Link to comment Share on other sites More sharing options...
Techno 5.0 Posted January 23, 2009 Share Posted January 23, 2009 y not try attempting a script where when u lvl up it changes ur colorlike Blue= levels 1-10green=11-20red=21-30yellow=31-40and so on Link to comment Share on other sites More sharing options...
Southern Posted January 24, 2009 Author Share Posted January 24, 2009 I'll do it, but if the color dont work on simpler code's then I dont see how it will work with a more complex one. I'll make the script in a few. And post on here to see if you guy's can get it to work lol. Link to comment Share on other sites More sharing options...
Southern Posted January 24, 2009 Author Share Posted January 24, 2009 If GetPlayerLevel(Index) = 1 Then Call colorplayername(Index, 1) Exit Sub End If If GetPlayerLevel(Index) = 11 Then Call colorplayername(Index, 2) Exit Sub End If If GetPlayerLevel(Index) = 21 Then Call colorplayername(Index, 4) Exit Sub End If If GetPlayerLevel(Index) = 31 Then Call colorplayername(Index, 13) Exit Sub End IfUmm yea just add that to playerlevelup (still doesnt work…but work's if i change Call ColorPlayerName to Call PlayerMsg(Index, "Hello Jello-O")I dont think Call ColorPlayerName(Index, Color) works >_> Link to comment Share on other sites More sharing options...
Roujo Posted January 24, 2009 Share Posted January 24, 2009 Well, I don't see it in the SadScript Database. I don't think it's a valid function… Maybe it'll be in EE3.0 XDWell, if ColorPlayerName doesn't exist, I don't know how you can do this short of editing the Source Code. Sorry! Link to comment Share on other sites More sharing options...
Southern Posted January 24, 2009 Author Share Posted January 24, 2009 @Roujo:> Well, I don't see it in the SadScript Database. I don't think it's a valid function… Maybe it'll be in EE3.0 XD> > Well, if ColorPlayerName doesn't exist, I don't know how you can do this short of editing the Source Code. Sorry!DOnt want to sound rude, but if you type ctrl+F and search for colorplayername you will find it.![](http://i293.photobucket.com/albums/mm49/Hatetherap/owned.jpg) Link to comment Share on other sites More sharing options...
Roujo Posted January 24, 2009 Share Posted January 24, 2009 Nice!! =) I'm gonna go and update my database =PWell, if it's a function, then these are the possible errors I can think of:* You have 2 /colorz commands* In /baza, you call ColorPlayerName(index, _baza_). I don't know if you added that color as a constant, but in any case it's not in my Main.txt, so I'm not sure that works.Do other slash commands like /warpto work? If they do, those are the only thing I see that would prevent your color commands from working.If other slash commands don't work, you have an error somewhere in your Sub Commands… Good luck finding it! (^_^)'Hope I helped!RoujoEDIT: I noted something on the top of the All Commands topic...> 9/07/08 - Edit by Mellowz: Some commands are out-dated!Maybe that's why it doesn't work. Just a thought. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now