Raised This Month: $51 Target: $400
 12% 

Searching for the fault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 07-10-2011 , 11:33   Searching for the fault
Reply With Quote #1

When I tried to get the walljump from this plugin, this line gives me a "Tag mismatch" error:

PHP Code:
    for(new 03x++)
    {
        
jumpVelociPlayer ][x] = 0.0;
    } 
http://forums.alliedmods.net/showpos...5&postcount=31
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-10-2011 , 11:38   Re: Searching for the fault
Reply With Quote #2

Show more code. You probably forget Float: or something..
__________________
xPaw is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-10-2011 , 11:42   Re: Searching for the fault
Reply With Quote #3

I've got already this:

PHP Code:
new Float:jumpVeloc[32][3]; 
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-10-2011 , 11:46   Re: Searching for the fault
Reply With Quote #4

Full code.

Edit: Also I guess you ( v3x? ) are using the player index straight to index the array, so you will get index out of bounds if 32 players connect. To solve, change the array's first index to size 33.

Last edited by SnoW; 07-10-2011 at 11:49.
SnoW is offline
Send a message via MSN to SnoW
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 18:39.


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