Raised This Month: $ Target: $400
 0% 

Solved Need help in Motd i think convert to Formatex


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 03-22-2017 , 07:03   Need help in Motd i think convert to Formatex
Reply With Quote #1

Hey Friends

i need your help i want i transfer same file in other server then gametracker open hi server ip example 1st time this file on this ip 1.1.10.11.1:111 then show like http://www.gametracker.com/server_info/1.1.10.11.1:111
and i transfer this file in other server same server copy current sv ip i think need Formatex


Sorry For My bad English

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Test plugin by shehzad"
#define VERSION "1.0"
#define AUTHOR "Muhammad shehzad"

new IP[19

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd"say /test""TestMotd");
    
    
// Add your code here...
}
public 
TestMotd(id)
{
    
get_user_ip(0IPcharsmax(IP)) 
    
show_motd(id"http://www.gametracker.com/server_info/%s""GameTracker"ip)

Errors :-

HTML Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Number of arguments does not match definition on line 21

1 Error.
Could not locate output file C:\Users\shehzad\Desktop\my plugin\Untitled.amx (compile failed).

Last edited by shehzad1234; 03-23-2017 at 08:12. Reason: Solved Prefix :)
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
 



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 17:54.


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