![]() |
My crappy fishpole
My first ever fishpole, yay!
Tell me what you think or tell what I can do to make it better! NPC Code:if (weaponfired&&onwater(playerx-1,playery-1)||onwater(playerx+1,playery+1)||onwater(playerx-1,playery+1)||onwater(playerx+1,playery-1)) |
There must be a way to shorten all those onwater flags... im just not sure how... Maybe someone can say and i'll learn something... X>X
|
use the vector or x and y, much easier
|
Hm, not really,maybe if you use an onboard detector
/CaRnIe |
works same with onwater
|
I dont even know "vecx" and "vecy".. I dont even know onwater. I had to look in the Commands.rtf.. ha
|
-=Josey=-
NPC Code: |
Re: My crappy fishpole
Quote:
and the 'for' command could be used as well ... |
| All times are GMT +2. The time now is 11:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.