Raised This Month: $ Target: $400
 0% 

[HELP] This for plugin help me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-21-2012 , 06:41   [HELP] This for plugin help me
Reply With Quote #1

I use include "playermodel"

PHP Code:
#include <playermodel> 
I choose "Bordo Bereli"

PHP Code:
menu_additem(op_menu"\wBordo Bereli (M4a1+Ak47+Deagle)-(255 Hp + 500 Armor + Nvg + Gravity)""9"ADMIN_IMMUNITY

Bordo Bereli feature:

PHP Code:
case 9:
        {
            if( 
is_user_aliveid ) )
            {
                
ColorChat(0NORMAL"^3%s^1: Bordo Bereli Turunu Sectiniz",tag)
                
fm_set_user_model(id"bordobere")
                
client_cmd(id,"spk bordobere/bordobere")
                
set_user_health(id255)
                
set_user_armor(id500)
                
give_item(id"weapon_m4a1")
                
give_item(id"weapon_ak47")
                
give_item(id"weapon_deagle")
                
cs_set_user_bpammo(idCSW_M4A190)
                
cs_set_user_bpammo(idCSW_AK4790)
                
cs_set_user_bpammo(idCSW_DEAGLE90)
                
cs_set_user_nvg(id1)
                
set_user_gravity(id0.5)
            }
        } 
PHP Code:
public oyuncu_tekrar_dogunca(id)
{
    if (
is_user_alive(id))
    {
        if(
cs_get_user_team(id))
        {
            
strip_user_weapons(id)
            
fm_reset_user_model(id)
            
cs_set_user_nvg(id0)
            
set_pdata_int(idOFFSET_PRIMARYWEAPON)
            
give_item(id"weapon_knife" )
        }
    }

Plugin compile but, plugin not work :S

fm_set_user_model(id, "bordobere") and fm_reset_user_model(id)

EDIT:

Code:
( 28) Load fails: Module/Library "playermodel" required for plugin.  Check modules.ini.
28 plugins, 27 running

Last edited by Sepsis; 08-21-2012 at 07:24.
Sepsis is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-21-2012 , 08:54   Re: [HELP] This for plugin help me
Reply With Quote #2

Weird that you're getting that error while the INCLUDE isn't a MODULE.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 08-21-2012 , 08:57   Re: [HELP] This for plugin help me
Reply With Quote #3

It uses fake natives, that's why.

You need to get Connor's player model API plugin and load it before this one.
Backstabnoob is offline
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-21-2012 , 08:59   Re: [HELP] This for plugin help me
Reply With Quote #4

What can I do? Do you have any idea?
Sepsis is offline
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-21-2012 , 09:05   Re: [HELP] This for plugin help me
Reply With Quote #5

Did I use it
Attached Files
File Type: inc playermodel.inc (325 Bytes, 89 views)
Sepsis is offline
Old 08-21-2012, 09:29
Sepsis
This message has been deleted by Sepsis.
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-21-2012 , 11:00   Re: [HELP] This for plugin help me
Reply With Quote #6

Quote:
Originally Posted by Sepsis View Post
EDIT:

Yeah, thnx plugin work

EDIT2:

Plugin work but, the player doesn't look like "bordobere".
Sepsis is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 08-21-2012 , 11:05   Re: [HELP] This for plugin help me
Reply With Quote #7

Nobody is going to help you if you do a triple post in 30 minutes.
Backstabnoob is offline
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-21-2012 , 11:06   Re: [HELP] This for plugin help me
Reply With Quote #8

Quote:
Originally Posted by Backstabnoob View Post
Nobody is going to help you if you do a triple post in 30 minutes.
Ok, sorry

Last edited by Sepsis; 08-22-2012 at 07:04.
Sepsis is offline
Sepsis
Senior Member
Join Date: Jul 2011
Old 08-22-2012 , 07:50   Re: [HELP] This for plugin help me
Reply With Quote #9

Ok, I use to
PHP Code:
#include <cstrike> 
Problem is solved.

Last edited by Sepsis; 08-22-2012 at 07:50.
Sepsis 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 05:53.


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