Raised This Month: $ Target: $400
 0% 

Solved move type error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-25-2018 , 14:41   move type error
Reply With Quote #1

I have this code
PHP Code:
public New()
{
    
Spawn find_ent_by_class(Spawn"info_player_deathmatch");
    if(!
Spawn)
        
Spawn = -1;
    new 
Float:StartOrigin[3];
    
pev(Spawnpev_originStartOrigin);
    new 
bot create_entity("info_target");
    
entity_set_string(botEV_SZ_classname"pleya");
    
entity_set_int(botEV_INT_solid3)
    
entity_set_model(bot"models/player/terror/terror.mdl");
    
entity_set_origin(botStartOrigin)
    
entity_set_string(botEV_SZ_netnamenames[random(8)]);
    
entity_set_vector(botEV_VEC_size, {32.032.072.0})
    
entity_set_vector(botEV_VEC_maxs, {-16.0, -16.0, -36.0})
    
entity_set_vector(botEV_VEC_mins, {16.016.036.0})
    
entity_set_int(botEV_INT_rendermode4)
    
entity_set_float(botEV_FL_health100.0)
    
entity_set_float(botEV_FL_max_health100.0)
    
entity_set_float(botEV_FL_dmg2.0)
    
entity_set_float(botEV_FL_maxspeed221.0)
    
entity_set_float(botEV_FL_gravity1.0)
    
entity_set_float(botEV_FL_friction1.0)
    
entity_set_int(botEV_INT_movetype3)
    
entity_set_float(botEV_FL_framerate1.0)

when I triger the function New() the game stops and give me this error:
Name:  Sans titre.jpg
Views: 213
Size:  14.5 KB

Last edited by man_s_our; 03-25-2018 at 16:48.
man_s_our is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 03-25-2018 , 16:25   Re: move type error
Reply With Quote #2

Quote:
#define MOVETYPE_WALK 3 // Player only - moving on the ground
__________________
My English is A0
E1_531G is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-25-2018 , 16:37   Re: move type error
Reply With Quote #3

thanks
__________________
man_s_our is offline
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-25-2018 , 16:39   Re: move type error
Reply With Quote #4

from where did you quoted that?
__________________
man_s_our is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-25-2018 , 17:06   Re: move type error
Reply With Quote #5

Search the amxmodx includes files
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-25-2018 at 17:11.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
E1_531G
Senior Member
Join Date: Dec 2017
Old 03-26-2018 , 14:49   Re: move type error
Reply With Quote #6

Quote:
Originally Posted by man_s_our View Post
from where did you quoted that?
hlsdk_const.inc in AMX 1.8.2.
__________________
My English is A0
E1_531G 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 12:50.


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