![]() |
Another Question
I am making a way to get money on my server (not mining, not fishing, not diving, not bird catching) and I was unsure about part of the script. The part I was having trouble with was checking how many items you had collected.
if (playersays(Check not saying name so idea isnt stolen)) {setplayerprop #c,You have #s(#v(name)) itemname!;} |
Try this:
NPC Code: |
I was thinking of doing that, but I can't really test it because it won't work offline
|
Jadis:
-sigh- NPC Code: |
NPC Code: There you go.. Jadis, you left out the {} plus mine is neater =D |
isn't client.whatever a npc server string?
|
lol
Quote:
if(playerchats&&strequals(#c,test)) say2 test; see you wouldn't need them because you only have 1 thing in there but if you do more then 1 thing then you have to use the {} like if(playerchats&&strequals(#c,test)){ say2 test; message test; } |
LOL
|
It's always nice to have them though.. and "client.itemcount" means its a clientside variable.. its not serverside.. its a value stored on the clients side =)
|
| All times are GMT +2. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.