![]() |
Need CS/SS help!
I just want info on client/serverside, because I STILL don't get it. So, I want a VERY good scripter(like Kai) to change this example script to one that would work on an NPC server.
NPC Code: I apologize for the relatively long script, I'm just making as simple as possible, not that you can't handle it, though. |
Use addweapon, not toweapons.
And the entire weaponfired block can go clientside. Don't ask for full scripts. |
Well geez! I'm asking for help! Every single way I try to get it, I don't understand it! Oh, and exactly what is the difference between addweapons and toweapons?
|
toweapons is only for offline use. If used online it will disconnect the player, with a message to rc: "accountname added a weapon (hacker?)"
addweapon is for use with an NPC-Server. Add the weapon to the NPC Weapon List and use addweapon. |
The if (playertouchsme) part has to go in an NPC in a level... The if (weaponfired) part goes in the weapon's database on your NPC sever... And you can't use toweapons, as had been said before.
|
never put CS in your thread title and not mention Counterstrike at all during your post.... you got me all excited :grrr:
|
Quote:
We're special. :) |
Not for long you hairy ingrates!
:D for (i=0;i<4;i++;) { shootarrow i; } "is your friend." |
I guess the use of toweapons here is justified as I doubt that the original poster has NC access anywhere... ?
Quote:
|
Re: Need CS/SS help!
Quote:
Everything under //#CLIENTSIDE is clientside and everything above it is serverside. example: NPC Code: -- Your weapon script will go into the weapons database and will have to be clientside. NPC Code: There are other ways to subtract arrows other than the example I provided. What you may need is that old npcserver.doc Search the forums and you should be able to find it. |
Why link removing darts to Control-NPC x-x. It's more organized to have it with the weapon instead.
NPC Code: |
Quote:
|
Quote:
#2. This is an NPC forum. Not the CS Forums. |
*sighs* I guess client/serverside stuff is just too much for me. At this rate, I'm never going to learn anything about it...
|
I learned how to script as much as I can by picking any script I got my hands on apart :)
|
Re: Re: Need CS/SS help!
Quote:
Also, I think I remember that when a clientside NPC does shootarrow, the NPC server automatically decrements the playerdarts variable accordingly. |
Re: Re: Need CS/SS help!
Quote:
Don't do that. Teach how to do it in the weapon. It's a great deal more secure. Let me help. NPC Code: pointless if loriel is correct. But it is important for all the other stuff you can't edit clientside. |
Re: Need CS/SS help!
Quote:
NPC Code: NPC Code: Not familiar with NPCserver neither, so... |
Re: Re: Need CS/SS help!
Quote:
If he uses that he's definitly gonna have problems. |
If you're going to use code tags please indent.
|
Re: Re: Re: Need CS/SS help!
Quote:
I probably confused the hell out of the guy. :( I'll test to see if it works clientside again. |
Quote:
|
Quote:
|
I can use => if I want to, because it doesn't seem to present any problem.
|
Quote:
|
Quote:
|
Quote:
|
To the batmobile, r0bin!
Lance got angry when i posted the wrong way in a tutorial ^^ It's easy to remember: >= looks like an ebil face. |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.