![]() |
Help Scripters!!!
Alright, I'm trying to create an easy flat out levels system off of a RC NPC.
Here is the Script I've made. //#CLIENTSIDE if (created){ setstring client.level,1; } if (playerkills==10){ setplayerprop#c,Gained Level!; setstring client.level,#v(strtofloat(#s (client.level))+1); say2 You've gained a level! #bCurrent Level: #s(client.level); } } This doesn't work at all. Even if I always changed the if (playerkills==10){ part. I've tried if (playerkills=10){ if (playerkills==10){ if (playerkills<10){ if (playerkills>10){ if (created&&playerkills=10){ if (created&&playerkills==10){ None of it works. So when I put if (playerchats&&strequals(#c,/autolevel){ then the basic script, it did give me a level and it showed in my profile Level: 2 I got the profilevars=Level:=client.level And it just doesn't work. Am I using the wrong thing? Like.. severr.flag server.flag this.flag client.flag clientr.flag What do I use? I need all your help out their. I just want it so if my kills are 10 I'll gain a level and it'll add +1 to my client.level! |
playerkills is serverside. It is also very insecure to have a client. string. You should make the level up part serverside, for more security.
|
why not also make a custom kill system?
|
Not all of us are talented..
|
Quote:
|
Quote:
|
You guys didn't really help there.
|
Quote:
|
You are now semi-officially warned for bad form.
|
Quote:
|
sex ;)
|
Disaster.
|
Quote:
[edit]I do not think I want you to make him stop thinking on his own. --Loriel[/edit] |
Okiesmokie is right in his identification of the problem, but horribly wrong in his suggested solution. See KSI-GS.
|
You scripters and your "talk".
|
Quote:
|
You must understand my humor in say that.
|
| All times are GMT +2. The time now is 11:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.