User
Pass
2FA
 
 

[rezolvat]Cerere plugin CT/T Knife

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message1271
Codrin Bradea

[Mentally Stable]



Status: Offline
(since 30-03-2015 15:58)
Joined: 01 Sep 2014
Posts: 63, Topics: 30
Location: Oradea

Reputation: -84.9
Votes: 6

       
Post Posted: 25-11-2014, 22:54:57 | Translate post to: ... (Click for more languages)

Salut Freakz , as vrea si eu un plugin in care
-CT Sa aiba un knife si T altul.
Cam atat. Multumesc !

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Codrin Bradea

[Mentally Stable]



Status: Offline
(since 30-03-2015 15:58)
Joined: 01 Sep 2014
Posts: 63, Topics: 30
Location: Oradea

Reputation: -84.9
Votes: 6

       
Post Posted: 26-11-2014, 18:53:52 | Translate post to: ... (Click for more languages)

UPP CINEVA MA AJUTA?
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 26-11-2014, 20:13:20 | Translate post to: ... (Click for more languages)

sper ca stii sa editezi modelele...

Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <engine>

new const T_KNIFE_MDL[ ] = "models/v_knife_t.mdl";
new const CT_KNIFE_MDL[ ] = "models/v_knife_ct.mdl";

#define PLUGIN "Team based knife"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
   
    RegisterHam(Ham_Item_Deploy, "weapon_knife", "FwdDeployKnifePost", 1)
}

public plugin_precache()
{
    precache_model(T_KNIFE_MDL)
    precache_model(CT_KNIFE_MDL)
}

public FwdDeployKnifePost(iEntity)
{
    new id = get_pdata_cbase(iEntity, 41, 4)
   
    switch(cs_get_user_team(id))
    {
        case CS_TEAM_T:
        {
            entity_set_string(id, EV_SZ_viewmodel, T_KNIFE_MDL)
        }
        case CS_TEAM_CT:
        {
            entity_set_string(id, EV_SZ_viewmodel, CT_KNIFE_MDL)
        }
    }




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Codrin Bradea

[Mentally Stable]



Status: Offline
(since 30-03-2015 15:58)
Joined: 01 Sep 2014
Posts: 63, Topics: 30
Location: Oradea

Reputation: -84.9
Votes: 6

       
Post Posted: 26-11-2014, 23:15:59 | Translate post to: ... (Click for more languages)

Nu merge... (merge compilat) dar nu se vede modelu la CT...
O fi din jbextreme.sma?
Am sters linia cu "
Code:
new const _FistModels[][] = { "models/p_bknuckles.mdl", "models/v_bknuckles.mdl" }


Am compilat si da eroarea asta:

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Modified for https://www.freakz.ro

jbextreme.sma(332) : error 072: "sizeof" operator is invalid on "function" symbols
jbextreme.sma(333) : error 017: undefined symbol "_FistModels"
jbextreme.sma(333) : warning 217: loose indentation
jbextreme.sma(333) : warning 215: expression has no effect
jbextreme.sma(333) : error 001: expected token: ";", but found "]"
jbextreme.sma(333) : error 029: invalid expression, assumed zero
jbextreme.sma(333) : fatal error 107: too many error messages on one line

Compilation aborted.
5 Errors.
Done.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 27-11-2014, 00:31:45 | Translate post to: ... (Click for more languages)

din jbextreme nu era neaparat nevoie sastergi aia, puteai dezactiva doar functia .. dar daca tot ai pornit, sterge si din precache treaba aia pentru pumni, apoi trebuie sa stergi functia de deploy ...
lasa-mi PM sau aici sma si iti sterg exact ce trebuie daca nu stii ..




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Her0brineXD

[Mentally Stable]



Status: Offline
(since 25-12-2014 15:01)
Joined: 26 Nov 2014
Posts: 51, Topics: 1
Location: Romania

Reputation: 62.7
Votes: 2

Post Posted: 28-11-2014, 10:37:42 | Translate post to: ... (Click for more languages)

Multumesc, merge bine -
0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by EDUTz, 28 November 2014 12:49



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 01-12-2024, 06:31:51
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x