This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-24-2013 , 08:22   Models
Reply With Quote #1

Hy, my name is Row ( romanian world ) and e i need suport from alliedmodders forums


What is the problem ?

From my plugin hi dont show me the model I dont now Why


Source :

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
#include <fun>
 
#define PLUGIN "Dragon GT Mod"
#define VERSION "1.0"
#define AUTHOR "Row"
 
 
public plugin_init ( ) {
   
register_plugin PLUGINVERSIONAUTHOR );
   
register_event("ResetHUD","event_spawn","be")
}
 
 
 
public 
plugin_precache() {       
 
precache_model("models/player/buu/buu.mdl")
precache_model("models/player/goku/goku.mdl")
precache_model("models/player/gohan/gohan.mdl")
precache_model("models/player/vegeta/vegeta.mdl")
precache_model("models/player/frieza/frieza.mdl")
precache_model("models/player/cell/cell.mdl")
precache_model("models/player/piccolo/piccolo.mdl")
 
}
 
public 
event_spawn id ) {   
 
   new 
menu menu_create "Chose your character" "MenuGiver" );
 
   
menu_additem menu"  Goku""1");
   
menu_additem menu"  Gohan ""2");
   
menu_additem menu"  Cell ""3");
   
menu_additem menu"  Vegeta ""4");
   
menu_additem menu"  Frieza ""5");
   
menu_additem menu"  Picolo ""6");
   
menu_additem menu"  Buu ""7");
 
   
menu_setprop menuMPROP_EXITMEXIT_ALL );
   
menu_display idmenu);
 
   return 
1;
}
 
public 
MenuGiver idmenuitem ) {
 
   if ( 
item == MENU_EXIT )
   {
      return 
1;
   }
 
   new 
data ], szName 64 ];
   new 
accesscallback;
   
menu_item_getinfo menuitemaccessdata,charsmax data ), szName,charsmax szName ), callback );
   new 
key str_to_num data );
 
   switch ( 
key )
   {
      case 
1:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"goku")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
 
      }
 
      case 
2:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"gohan")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
      case 
3:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"cell")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
      case 
4:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"vegeta")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
      case 
5:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"frieza")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
      case 
6:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"piccolo")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
      case 
7:
      {
        
set_view(id,CAMERA_3RDPERSON)
        
cs_set_user_model(id"piccolo")
        
set_user_gravity(id,0.1)
        
set_user_maxspeed(id,10000.0)         
        
client_cmd(id,"cl_forwardspeed 10000")    
        
client_cmd(id,"cl_backspeed 10000")    
        
client_cmd(id,"cl_sidespeed 10000")
        new 
health[32]    
        
health[id] = get_user_health(id)
        
set_user_health(id,health[id] + 100)
      }
 
 
   }
 
   
menu_destroy menu );
   return 
1;
 


Last edited by Row; 06-24-2013 at 08:23.
Row is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 06-24-2013 , 08:34   Re: Models
Reply With Quote #2

these dont work anymore?

PHP Code:
client_cmd(id,"cl_forwardspeed 10000")    
client_cmd(id,"cl_backspeed 10000")    
client_cmd(id,"cl_sidespeed 10000"
EpicMonkey is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-24-2013 , 08:38   Re: Models
Reply With Quote #3

OMG, SlowHacks :O
TheDS1337 is offline
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-24-2013 , 09:12   Re: Models
Reply With Quote #4

Quote:
Originally Posted by EpicMonkey View Post
these dont work anymore?

PHP Code:
client_cmd(id,"cl_forwardspeed 10000")    
client_cmd(id,"cl_backspeed 10000")    
client_cmd(id,"cl_sidespeed 10000"

he work , the only problem its hi dont show me the model when i chose him ( goku.mdl,vegeta.mdl...ETC)
Row is offline
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-24-2013 , 09:13   Re: Models
Reply With Quote #5

Quote:
Originally Posted by DeagLe.Studio View Post
OMG, SlowHacks :O

This is not slow Hacking LOOK more good on my plugin to see , you say that its slow hacking because i put that SPAW_EVENT but i can change with CLIENT_PUTINSERVER enewhay the problem its hi dont show the MODEL can say WHY !!????
Row is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-24-2013 , 09:26   Re: Models
Reply With Quote #6

It is slowhacking. Plus, Valve already has or will be blocking all cl_* cvars from being changed by the server.

Does your client have cl_minmodels set to 0 or 1?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-24-2013 , 09:55   Re: Models
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
It is slowhacking. Plus, Valve already has or will be blocking all cl_* cvars from being changed by the server.

Does your client have cl_minmodels set to 0 or 1?

I love you :X
Row is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-24-2013 , 11:10   Re: Models
Reply With Quote #8

Steam blocks slow hack

Last edited by TheDS1337; 06-24-2013 at 11:10.
TheDS1337 is offline
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-24-2013 , 11:13   Re: Models
Reply With Quote #9

Quote:
Originally Posted by DeagLe.Studio View Post
Steam blocks slow hack
I forgot to say i put in my server a plugin how dont permite the steam or fake steam to connect ONLY the valvers bease is public ! and the many hack is maked for steams. ..
Row is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-24-2013 , 14:08   Re: Models
Reply With Quote #10

Quote:
Originally Posted by Row View Post
I forgot to say i put in my server a plugin how dont permite the steam or fake steam to connect ONLY the valvers bease is public ! and the many hack is maked for steams. ..
What?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 15:40.


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