![]() |
Dumb Scripter
I feel dumb asking this but is there a script so players cant get Arrows and Bombs like if they touch it it stays 0 without using timeouts if not what is it with timeouts
|
Please make your post understandalbE?
|
if (playerbombs>0||playerdarts>0) { playerdarts=0;playerbombs=0; }
|
GO AWAY LIQUID *****s shotgun*
|
Quote:
|
GIMME YOUR WALLET PUNK.
|
Quote:
|
Liquid that don't work. :\
|
It does but it stalls like 30 secs
|
NPC Code: try that? |
Actually nevermind it don't work at all.
|
Quote:
|
Well what can i say. Good-ol time outs are the only thing that will help you
if(playerenters || timeout) { timeout = 0.05; if(playerdarts > 0 || playerbombs > 0) { playerdarts = 0; playerbombs = 0; } } Thats your only other option i guess |
Yeah thanx :-)
|
Quote:
Dude check your PM's |
FALADOS IS WRONG AGAIN
while (nobombsandarrows) { playerdarts=0; playerbombs=0; sleep .05; } so much better, less chance of glitching... |
Quote:
|
I think people are starting to dislike me, sigh, time to switch to nice mode
"How are you today liquidice?" |
If its posible try using a weapon like isweapon I like that and if its p2p im almost sure it would do that but WHY THE HECK DONT YEH WANT BOMBS OR ARROWS? and if you really hate them DONT MAKE THEM but i guess the player HAS to mave that 15 bombs(unuseful) and 5 arrows(it should be 15 to these are useful)
|
well one reason might be your making your own arrow and bomb script but you dont want to let the person start out with arrows or bombs when they die...
I am making a weapon on frolic (an arrow thingy) but it doesn't use the arrows from the arrow bar and to make people less confuzed I wouldn't want them to die and everyone grabs tehre arrows and bombs and be like wtf it didn't add it... well I haven't started scripting it but it iwll take me like 5 seconds to script lol... |
do this ...
just make your script cheezy yet durable ...
while (playerbombs>0) { playerbombs-=1; } while (playerdarts>0) { playerdarts-=1; } http://www.deceptiononline.f2s.com/nyghtdoll.gif |
my god you people.. always doing things the hardway ;p
LiquidIce was right ;/ if(playerdarts>0 || playerbombs>0) { playerbombs= 0; playerdarts= 0; } |
IF you read. It did not work. niether did the WHILE LOOP wich is SUPOSE TO LOOP but DID NOT.
|
umm... try theses: NPC Code: NPC Code: NPC Code: |
Quote:
|
Instead of trying to fix this little problem, why don't we ask why we can't use timeouts?
|
Quote:
*cough* thief *cough* |
I made them you stupid ass *****!
|
these totally work
NPC Code: and i made this by myself so dont balme me that i stealed it!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| All times are GMT +2. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.