How do u write a code that
ok how do u write a code that tells u if the player hasn't moved after a certain amount of time(wherever he is)...
i know it has set_tassk in it and register_event but i dont understand on u do it?? Your time will be greatly appreciated.. |
http://forums.alliedmods.net/showthread.php?t=300
This is great plugin by CheesyPeteza and easy to read the code to see how to do it. ________ buy cheap vaporizer |
i ve read that and yet kinda understand maybe someone can explain it some what for example i have no clue wat i++ means does it mean add it(bad answer) ??
ty anyways but i need more detail |
im kinda a scripting noob, but i think i++ is the value of i plus 1...
|
bingo.
|
Quote:
++i does the same, but its value is the incremented value. |
Quote:
Code:
|
ah so thats the diff from ++i and i++ , *re-edits lots of his code*
|
It doesn't make a difference which you use, unless you specifically need the variable to be incremented before/after the expression is evaluated.
|
sorry for not replying for a while but thank you all it helps alot!!! thank you again very aprreciated..
|
| All times are GMT -4. The time now is 14:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.