Raised This Month: $ Target: $400
 0% 

[CS 1.6] Can we add a founder or others models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-08-2018 , 01:56   [CS 1.6] Can we add a founder or others models
Reply With Quote #1

Hi all thanks for helping me

I need a plugin that gives the founder skin and others skin like owners skin, boss skin and much more
in server of cs 1.6 ?

Please don't give me a sourcecode plugin i don't know about it !!

Thanks in Advanced Love you
alexwilliamw28 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 05-08-2018 , 02:23   Re: [CS 1.6] Can we add a founder or others models
Reply With Quote #2

Moved to the proper section, you're looking for an AMX plugin, not a sourcemod plugin.
__________________
sneaK is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-08-2018 , 08:46   Re: [CS 1.6] Can we add a founder or others models
Reply With Quote #3

bro can you give me code please for amxmodx please bro
alexwilliamw28 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-08-2018 , 09:57   Re: [CS 1.6] Can we add a founder or others models
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?t=11391
karimoo97 is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 05-08-2018 , 15:04   Re: [CS 1.6] Can we add a founder or others models
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
I request this plugin to be unapproved.

Yes it has been downloaded thousand times, but there are some (minor) errors in the code that shouldn't be followed by learning scripters, and also models are hardcoded and that is against forum rules (i know that this plugin should have been released long time before that rule has been made).

Well, the plugin is not unsafe to use but it's a really bad example for learning scripters, and i sometimes see people who link that plugin for people who learn scripting.
Also, there are now few plugins that can do the same job and without hardcoded models.

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> public plugin_init() {         register_plugin("AMX Admin Model", "1.1.1", "whitemike")         register_event("ResetHUD", "resetModel", "b") // ResetHUD shouldn't be a place to set models         return PLUGIN_CONTINUE // This return shouldn't exist } public plugin_precache() {         precache_model("models/player/admin_ct/admin_ct.mdl") // hardcoded model         precache_model("models/player/admin_te/admin_te.mdl") // hardcoded model         return PLUGIN_CONTINUE // This return shouldn't exist } public resetModel(id, level, cid) { // level and cid have no reason to be here, have no effect and may confuse scripters         if (get_user_flags(id) & ADMIN_KICK) {                 new CsTeams:userTeam = cs_get_user_team(id) // switch statement would be more appropriated                 if (userTeam == CS_TEAM_T) {                         cs_set_user_model(id, "admin_te") // hardcoded model                 }                 else if(userTeam == CS_TEAM_CT) {                         cs_set_user_model(id, "admin_ct") // hardcoded model                 }                 else {                         cs_reset_user_model(id)                 }         }         return PLUGIN_CONTINUE // again a return with no effect }
__________________

Mordekay is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-09-2018 , 06:45   Re: [CS 1.6] Can we add a founder or others models
Reply With Quote #6

Thank you so much all love you :*
alexwilliamw28 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 20:57.


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