Shortcuts Plugin..

Started by unBreakS
14/04/2011 18:03
Page 1 of 1
unBreakS14/04/2011 18:03

So i found this thread "XJ Shortcuts" and the link isn`t workin ..
so if someone has it pls upload and post it here or send it in pm
Thanks in advance

doktor15/04/2011 18:29

I'm using this :

#include 

#define PLUGIN "KZ Shortcuts"
#define VERSION "1.1"
#define AUTHOR "Kryzu"

new szScPic[75];

public plugin_init( )
{
register_plugin( PLUGIN, VERSION, AUTHOR );
register_clcmd("say /sc", "ShowMOTD");

new pCvar = register_cvar( "kz_shortcut_webdir", "" );

get_pcvar_string(pCvar, szScPic, charsmax(szScPic) );
new szMapName[32];
get_mapname(szMapName, charsmax(szMapName));
format(szScPic, charsmax(szScPic), "%s/sc.php?img=%s.jpg", szScPic, szMapName);
}

public ShowMOTD( id )
{
show_motd(id, szScPic);

return PLUGIN_HANDLED;
}


You have to host the page, find it's code on AM, search by plugin author.

SchlumPF21/04/2011 02:32

http://pastebin.com/vG9HtJ07

got no idea why i used that much code. i hope i got a good reason ^^

Page 1 of 1

Please log in to post replies.