![]() |
Please help finish my script
Ok I need my script so it will always be active
//#CLIENTSIDE if (weaponfired) { for (i=1;i!=0;i++) { playermp=i*1; sleep .95; }} Thats what I got |
This should be in the GS1 area really. But, use a timeout.
|
uh can u show me im so confsued
|
Quote:
And "Please help finish my script"? Bad title. No we will not help you finish it. If you want us to help you understand it, sure. This is what you have so far: PHP Code:
|
A timeout:
NPC Code: |
***** @ i*1;
Just by looking at what you're doing, it looks like you're trying to make a sliding effect. That would look like this: NPC Code://#CLIENTSIDE But in your case, you probably want to do this: NPC Code://#CLIENTSIDE |
//#CLIENTSIDE
if (created) { timeout = 0.05; } if (timeout) { playermp = 100; timeout = 0.05; } -_- Use brackets right |
playermp cannot be set clientside. You had might as well do something like this on the serverside:
PHP Code:
|
Quote:
PHP Code:
|
Meh, it looks better Zelph. ;o Also you use a triggeraction on the clientside to server for the MP
|
Quote:
|
I'm currently wondering why you've chosen to use the timeout feature.
A 'for()' loop works the same...? |
Quote:
|
All... hail... Skyld... o.o;
anyways... He might have some clientside only actions or stuff of the such. That's why suggested that. |
On the subject of triggeractions, couldn't you locate a function above the //#CLIENTSIDE statement and when called, it would run serverside?
|
All times are GMT +2. The time now is 07:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.