Raised This Month: $32 Target: $400
 8% 

Solved [REQUEST]Jetpack+Bazooka survivor Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VeldroN
Junior Member
Join Date: Jan 2018
Old 01-05-2018 , 17:58   [REQUEST]Jetpack+Bazooka survivor Fix
Reply With Quote #1

Hello everyone,the problem with this plugin is that normally when a player is survivor he shouldn't be able to pick up a jetpack and if he already has one it should be dropped.As you probably guessed that's not happening here.I can't figure out how to fix this,could anyone help ?
The plugin download is in attachements.The plugin is for ZP 5.0
Maybe this could help you,the following text keeps getting spammed a lot in my logs folder while my server is running:
L 01/05/2018 - 23:59:59: [AMXX] Run time error 10: native error (native "zp_get_user_zombie")
L 01/05/2018 - 23:59:59: [AMXX] [0] zp_extra_jetpack_bazooka32.sma::jp_forward (line 173)
L 01/05/2018 - 23:59:59: [AMXX] [1] zp_extra_jetpack_bazooka32.sma::fm_startFrame (line 167)
L 01/05/2018 - 23:59:59: [ZP] Invalid Player (2)
Attached Files
File Type: zip sound.zip (51.4 KB, 46 views)
File Type: sma Get Plugin or Get Source (zp_extra_jetpack_bazooka32.sma - 699 views - 24.5 KB)

Last edited by VeldroN; 01-06-2018 at 13:47. Reason: DONE
VeldroN is offline
Suntox
Member
Join Date: Nov 2016
Old 01-06-2018 , 11:11   Re: [REQUEST]Jetpack+Bazooka survivor Fix
Reply With Quote #2

for errors you should to check is player alive.
try this:
Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_jetpack_bazooka32.sma - 578 views - 24.6 KB)

Last edited by Suntox; 01-06-2018 at 12:22.
Suntox is offline
VeldroN
Junior Member
Join Date: Jan 2018
Old 01-06-2018 , 11:45   RE
Reply With Quote #3

Quote:
Originally Posted by Suntox View Post
for errors you should to check is player alive.
try this:
Doesn't work The survivor can still pick up jetpacks and the player doesn't drop it when he becomes survivor
VeldroN is offline
Suntox
Member
Join Date: Nov 2016
Old 01-06-2018 , 12:04   Re: RE
Reply With Quote #4

Quote:
Originally Posted by VeldroN View Post
Doesn't work The survivor can still pick up jetpacks and the player doesn't drop it when he becomes survivor
edited
Suntox is offline
VeldroN
Junior Member
Join Date: Jan 2018
Old 01-06-2018 , 13:18   RE
Reply With Quote #5

Quote:
Originally Posted by Suntox View Post
edited
Can't compile it.Says it couldn't locate output file,that happens sometimes.Can you give me a link with the amxx file ?

Last edited by VeldroN; 01-06-2018 at 13:21.
VeldroN is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 01-06-2018 , 13:33   Re: [REQUEST]Jetpack+Bazooka survivor Fix
Reply With Quote #6

it cant locate, because it failed to compile. Try compiling as an administrator
__________________
retired chump
DjSoftero is offline
VeldroN
Junior Member
Join Date: Jan 2018
Old 01-06-2018 , 13:45   RE
Reply With Quote #7

Quote:
Originally Posted by VeldroN View Post
Can't compile it.Says it couldn't locate output file,that happens sometimes.Can you give me a link with the amxx file ?
Nevermind.It had 2 errors because of the sniper(i don't have the sniper gamemode) and i removed the zp_get_user_sniper and it worked.Thanks a lot for the fix Suntox,you're cool
Attached Files
File Type: zip Plugin_fixed(with sniper).zip (6.6 KB, 52 views)
File Type: zip Plugin_fixed_without_sniper.zip (6.6 KB, 56 views)

Last edited by VeldroN; 01-06-2018 at 14:00.
VeldroN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode