Raised This Month: $ Target: $400
 0% 

Ta giving error. Why?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NovinhoFDR
New Member
Join Date: Dec 2014
Old 06-10-2015 , 12:06   Re: Ta giving error. Why?
Reply With Quote #1

image: http://prntscr.com/7fdygu

Error still persists!

Quote:
#include <amxmodx>
#include <fakemeta>
#include <cstrike>
#include <amxmisc>

#define PLUGIN_NAME "Desativar Skin"
#define PLUGIN_VERSION "1.00"
#define PLUGIN_AUTHOR "Noviinhoo"

public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
register_clcmd( "say /skin","Menu")
register_clcmd( "say_team /skin","Menu")
}

public Menu(id)
{
new menu = menu_create("\w[Menu Desativar Skin's By \rNoviinhoo]:", "Menu1_Funcoes")

menu_additem(menu, "\wATIVAR", "1")
menu_additem(menu, "\yDESATIVAR", "2")

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)

menu_display(id, menu, 0)
}
public Menu1_Funcoes(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}

new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

new key = str_to_num(data)

switch(key)
{
case 1:{
client_cmd ("cl_minmodels 1"); // Desativa skins
client_print(id, print_chat, "[SKIN] Voce acaba de ativar skins de admin! By: [N]oviinhoo[O]") // Exibe uma Menssagem no say do Admin
menu_destroy(menu)
}
case 2:{
client_print(id, print_chat, "[SKIN] Voce acaba de ativar skins de admin! By: [N]oviinhoo[O]") // Uma menssagem no say do admin
// Configs MIX AMX MOD
client_cmd ("cl_minmodels 0"); // Ativa Skins
}
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1046{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
server_cmd edited to client_cmd, more error persists
__________________
[N]oviinhoo[O] @ThunderGames

Last edited by NovinhoFDR; 06-10-2015 at 12:09.
NovinhoFDR 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:06.


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