![]() |
sHOP sCRIPT
i NEED TO KNOW THE SHOP SCRIPT FOR NON P2P SERVERS!!:(
|
Shop script...you could just do like
if (playerchats && strequals(#c,buy arrows) && playerrupees >=5) { playerrupees-=5; playerdarts+=5; } Is that what you ment llike you can buy arrows or something? |
umm
There is no script called THE shop script, because generally everyone makes their own. Thats because the are pretty simple to do.
I normally do something like this: if (playerenters) {show; } if (strequals(#c,buy bombs) && playerrupees>=5) {playerbombs+=5; playerrupees-=5; setplayerprop #c,; } // This gives you 5 bombs for 5 rupees when a player says buy bombs, obviously. You might want to include signs and things that tell players what to say to get items.... |
Thanks
Thanks
|
wrong ...
Quote:
if (created) {show; } i (playersays(buy arrows) && playerrupees>4) { playerdarts+=5; playerrupees-=5; setplayerprop #c, Yipee !!!!; } |
Re: wrong ...
Quote:
his way is saying if your rupee count is equal to or greater then 5 yours is just saying greater then 4 same thing basicly |
ok
ok i get you ...
sorry for saying you wrong dude |
Re: sHOP sCRIPT
Quote:
god i hope not |
Re: Re: sHOP sCRIPT
Quote:
|
No I am not making a server
No I am not making a server and no I am not making a shop either!!:spam: :spam: :spam: :spam: :spam:
|
| All times are GMT +2. The time now is 01:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.