AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   %s error (https://forums.alliedmods.net/showthread.php?t=323132)

SHIELD755 04-13-2020 02:05

%s error
 
hii every one ,

i have some issue regarding this plugin

PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "test"
#define VERSION "1.0"
#define AUTHOR "S.H.I.E.L.D"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("test","test")
}

public 
test(id)
{
     
client_print(id,print_center,"test is successfull !!")


i am trying to print some text in center using "client_print" but its show like below
i am using AMXMODX VERSION 1.9

https://i.imgur.com/HdcC7GU.png

PLEASE HELP

Shadows Adi 04-13-2020 06:53

Re: %s error
 
It is from AmxModX version. Rollback to 1.8.3 dev+5201 and it will be ok.

Napoleon_be 04-13-2020 07:07

Re: %s error
 
Did u compile using v1.9.0? I think compiling as 1.8.3 and running as 1.9.0 might cause troubles.

+ARUKARI- 04-13-2020 07:16

Re: %s error
 
Tested.
https://f.easyuploader.app/eu-prd/up...7044355952.jpg
https://f.easyuploader.app/eu-prd/up...514677426a.png
https://f.easyuploader.app/eu-prd/up...7044355952.jpghttps://f.easyuploader.app/eu-prd/up...514677426a.png

SHIELD755 04-13-2020 07:50

Re: %s error
 
Quote:

Originally Posted by Shadows Adi (Post 2693023)
It is from AmxModX version. Rollback to 1.8.3 dev+5201 and it will be ok.

okay i will try !!

Quote:

Originally Posted by Napoleon_be (Post 2693026)
Did u compile using v1.9.0? I think compiling as 1.8.3 and running as 1.9.0 might cause troubles.

compiling with same version :)

+ARUKARI-

how you got the message ? , i tryed with 1.10 version but the problem continues

+ARUKARI- 04-13-2020 07:55

Re: %s error
 
Quote:

Originally Posted by SHIELD755 (Post 2693035)
+ARUKARI-

how you got the message ? , i tryed with 1.10 version but the problem continues

I just executed the plugin you wrote.

OciXCrom 04-13-2020 08:41

Re: %s error
 
Quote:

Originally Posted by Shadows Adi (Post 2693023)
It is from AmxModX version. Rollback to 1.8.3 dev+5201 and it will be ok.

No, it will not be "ok". 1.8.3 is an outdated version - it's just an older 1.9 dev-build and has a LOT of serious problems.

Do NOT rollback. I am using the latest 1.9 build and the plugin is working fine.

The problem is not from any version or the plugin. That message is not from this plugin. You have something else in your server that's displaying it.

JocAnis 04-13-2020 09:46

Re: %s error
 
@OciXCrom sorry for offtopic, but amxmod has snapshots of 1.8.3 here: https://www.amxmodx.org/snapshots.php

how it has any problems/bug? been using it for a while

if you can provide link for 1.9.0 i would aprecciate it and maybe start of thinking to changing to 1.9.0

OciXCrom 04-13-2020 09:50

Re: %s error
 
That link is no longer available on the AMXX website. You can only find 1.9 there - https://www.amxmodx.org/downloads-new.php
You probably accessed it from your history or an external website. It's been replaced with the above one a while ago.

1.10 builds are also available - https://www.amxmodx.org/downloads-new.php?branch=master

Like I said, 1.8.3 is just an older 1.9 build. You can see all the changes and bugfixes that have been made in the links above.

SHIELD755 04-13-2020 10:24

Re: %s error
 
Quote:

Originally Posted by OciXCrom (Post 2693062)
No, it will not be "ok". 1.8.3 is an outdated version - it's just an older 1.9 dev-build and has a LOT of serious problems.

Do NOT rollback. I am using the latest 1.9 build and the plugin is working fine.

The problem is not from any version or the plugin. That message is not from this plugin. You have something else in your server that's displaying it.

I have disabled all other plugins and running it single but it again shows error


All times are GMT -4. The time now is 08:36.

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