Raised This Month: $ Target: $400
 0% 

Argument Type Mismatch :(


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rixorster
Senior Member
Join Date: Jul 2005
Old 12-29-2005 , 13:06   Argument Type Mismatch :(
Reply With Quote #1

Here's the code:
Code:
   entity_set_vector(entid,EV_VEC_velocity,600.0)    entity_set_float(entid,EV_FL_friction,0.3)
And Errors:
Code:
Error: Argument type mismatch (argument 3) on line 228
Error: Argument type mismatch (argument 3) on line 245
__________________
You never know, what will happen the day after tomorrow...

+karma if i helped you!
Rixorster is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-29-2005 , 13:50  
Reply With Quote #2

Do you aware what's "vector" mean?
VEN is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 12-29-2005 , 19:09   Re: Argument Type Mismatch :(
Reply With Quote #3

Quote:
Originally Posted by Rixorster
Here's the code:
Code:
   entity_set_vector(entid,EV_VEC_velocity,600.0)    entity_set_float(entid,EV_FL_friction,0.3)
And Errors:
Code:
Error: Argument type mismatch (argument 3) on line 228
Error: Argument type mismatch (argument 3) on line 245
Vectors are 3 dimensional arrays containing X,Y,Z coordinates:
Code:
new Float:g_fVector[3] = {601.0, 602.0, 603.0}; //... entity_set_vector(entid,EV_VEC_velocity,g_fVector)
xeroblood is offline
Send a message via MSN to xeroblood
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 15:59.


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