AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Smoke grenade teleport (https://forums.alliedmods.net/showthread.php?t=243042)

Mirk 06-28-2014 19:35

Smoke grenade teleport
 
1 Attachment(s)
Hello all
I need to fix these errors and I don't know, where is error.

Errors:
Error: Undefined symbol "is_hull_vacant" on line 40
Error: Undefined symbol "is_hull_vacant" on line 48
Warning: Symbol is assigned a value that is never used: "hull" on line 54
Warning: Unreachable code on line 59
Error: Invalid expression, assumed zero on line 59
Warning: Label name "bool" shadows tag name on line 59
Error: Undefined symbol "is_hull_vacant" on line 59
Error: Invalid expression, assumed zero on line 59
Error: Too many error messages on one line on line 59

Black Rose 06-29-2014 01:51

Re: Smoke grenade teleport
 
Code:
public FwdHamTouch_Grenade( iEntity, iTouched ) { {

Remove one of the curly brackets and it compiles fine.

Mirk 06-29-2014 05:44

Re: Smoke grenade teleport
 
Thanks, but plugin not working :(

HamletEagle 06-29-2014 06:20

Re: Smoke grenade teleport
 
Then this is not our problem. If you post in scripting help, this mean that you know how to code and you just need help, not that someone do it for you. At leas tell us what is not working and what you tried or go to suggestion/request.

Mirk 06-29-2014 06:25

Re: Smoke grenade teleport
 
I have pieced together code from different plugins, but I wrote out that I want and I don't want in suggestion/request.

HamletEagle 06-29-2014 06:28

Re: Smoke grenade teleport
 
Quote:

Originally Posted by Mirk (Post 2159144)
I have pieced together code from different plugins, but I wrote out that I want and I don't want in suggestion/request.

Then tell us what is not working.

Mirk 06-29-2014 06:33

Re: Smoke grenade teleport
 
OK, sorry isn't working teleport me, when the smoke grenade drops on ground.


All times are GMT -4. The time now is 21:05.

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