![]() |
I noticed that..
A lot of people use "(playerchats&&strequals(#c,blah)" instead of "(playersays(blah))" ...
Why is that? playersays is much more easy and smaller which means less characters which means less time the computer takes reading the info (even if its a fast simple action anyway) which just means slightly more speed in it all I guess. But why do people use playerchats and strequals instead of playersays? |
I used to use playersays but I was told by many that its widely discouraged. I guess its not as fast or efficient or somthing.
|
Quote:
I cant see why its not efficient. I use it all the time "Online" and it works fine. And its smaller in characters so it would be the more efficient one. |
By using playerchats though...You get a whole slew of stuff like startswith(), tokenize, and all that fun stuff....people just get used to using playerchats outa habit because they use it for stuff like I just said...Anyways..thats why I think they do it...
|
yea i just got used to it so i use that now =\
|
actually its because Stefan never put playersays in the npc server. so if you do playersays in a p2p script it wont work .you need playerchats&&strequals(#c,whatever)
|
Jadis:
BECAUSE PLAYERSAYS GETS BUGGED EVERY OTHER VERSION SO IF YOU DO LIKE IF (PLAYERSAYS(NO)) SAY2 NO!; THE SIGN WILL KEEP APPEARING IF THE #C IS EQUAL TO NO Also because you're anus is sore. |
Quote:
|
Re: I noticed that..
Quote:
NPC Code: because the code will only run WHEN the player changes his chat field. Try these codes out: NPC Code: NPC Code: See the difference? |
playersays was removed from npc server wasnt it?
|
Quote:
|
| All times are GMT +2. The time now is 01:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.