Raised This Month: $ Target: $400
 0% 

[Solved] Tag Mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fedde
BANNED
Join Date: Sep 2011
Old 09-28-2011 , 13:41   [Solved] Tag Mismatch
Reply With Quote #1

On the following lines...

Code:
entity_get_vector(id,EV_VEC_origin,CheckPoint[id]); entity_set_vector(id,EV_VEC_origin,LastCheckPoint[id]);
Fedde is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 09-28-2011 , 13:49   Re: Tag Mismatch
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=6526
Stereo is offline
Fedde
BANNED
Join Date: Sep 2011
Old 09-28-2011 , 14:02   Re: Tag Mismatch
Reply With Quote #3

I already have that...
Code:
/* Definitions */ #define VECTORSIZE  3 /* Origins */ new CheckPoint[33][VECTORSIZE]; new LastCheckPoint[33][VECTORSIZE];
Fedde is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 09-28-2011 , 14:08   Re: Tag Mismatch
Reply With Quote #4

use Float:
Stereo is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 09-28-2011 , 14:08   Re: Tag Mismatch
Reply With Quote #5

Code:
new Float:...

EV_VEC_origin is a float value.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
Fedde
BANNED
Join Date: Sep 2011
Old 09-28-2011 , 14:28   Re: Tag Mismatch
Reply With Quote #6

Quote:
Originally Posted by Xellath View Post
Code:
new Float:...

EV_VEC_origin is a float value.
Solved with...
Code:
entity_get_vector(id,EV_VEC_origin,Float:CheckPoint[id]); entity_set_vector(id,EV_VEC_origin,Float:LastCheckPoint[id]);
Fedde is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-28-2011 , 14:59   Re: [Solved] Tag Mismatch
Reply With Quote #7

No, it should be :

new Float:CheckPoint[33][VECTORSIZE];
new Float:LastCheckPoint[33][VECTORSIZE];

You retrieve a float, so your var should be declared as float.
__________________
Arkshine is offline
Fedde
BANNED
Join Date: Sep 2011
Old 09-28-2011 , 17:00   Re: [Solved] Tag Mismatch
Reply With Quote #8

Quote:
Originally Posted by Arkshine View Post
No, it should be :

new Float:CheckPoint[33][VECTORSIZE];
new Float:LastCheckPoint[33][VECTORSIZE];

You retrieve a float, so your var should be declared as float.
Ok
Fedde is offline
Reply


Thread Tools
Display Modes

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 19:30.


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