![]() |
Shooting Glitch
Ok, this script is shooting the bullet then switching to a different NPC that you have, were not sure if its the shoot command like has it changed or if there is something else in the script thats bugging it to do this, so if anyone that knows whats happening please post your input >_<
PHP Code:
|
You can't leave parameters blank.
Put in "", 0, or NULL for a blank parameter. |
Oh, and I just noticed this:
this.angle = "#v(getangle(vecx(playerdir),vecy(playerdir))) "; First of all, #v() is never used in GS2. NEVER. Second, "" tells the script that something is text. That won't make this.angle the angle, it'll make this.angle the text that's there. Take out the #v() and the "". Same with this.random. |
It still changes weapons.... (and i work with him)
PHP Code:
|
I do not believe that this script has anything to do with your weapons changing...
I think that there is another script somewhere that is causing that. |
but when i remove the shoot command from that script or put // infront it doesnt switch the items anymore :/
|
PHP Code:
Change the ' if (strequals(#p(1),a)&&this.inuse==1) { ' to 'if (params[1] == "a" && this.inuse == 1) {' A+D will change weapons. It's possible that it's returning strequals(#p(1),a) as always being true? |
it still dont work...
PHP Code:
|
Quote:
PHP Code:
|
| All times are GMT +2. The time now is 12:22 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.