Help in Script
Code:
#include <amxmodx>Code:
new const g_tag[] = { hereHelp me plzz |
Re: Help in Script
An INI file would be a waste of resources. Tell us what the error is and we can probably help you fix it
|
Re: Help in Script
tagger.sma(15) : error 027: invalid character constant tagger.sma(15) : error 027: invalid character constant 2 Errors. Could not locate output file tagger.amx (compile failed).
This is error when i am using new const g_tag[] = "~=NarC^()~"; ~=NarC^()~ this tag i need it |
Re: error 027: invalid character constant
^ is an escape character. If you want to use it, you need to do: ^^
|
Re: error 027: invalid character constant
Arkshine can u show it in code please
|
Re: error 027: invalid character constant
Quote:
^^ instead of ^ |
Scripting Help
#include <amxmodx>
#define PLUGIN "Tagger" #define VERSION "1.0" #define AUTHOR "Gullu Bhai" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } new const g_tag[] = "~=NarC^^()~"; public client_putinserver(client){ static szName[32]; get_user_name(client,szName,charsmax(szName)) ; format(szName,charsmax(szName),"%s %s",g_tag,szName); set_user_info(client,"name",szName); } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang16393\\ f0\\ fs16 \n\\ par } */ This is my script of tag plugin and i want that if player already containg that tag it must ignore tagging any 1 plzz help |
Re: Scripting Help
PHP Code:
|
Re: Scripting Help
hw can i add one more tag to ignore
If that tag also exist ignore like i need to add 4 tags to ignore plzz help me in this sir :) |
Re: Help in Script
tagger.sma(28) : error 088: number of arguments does not match definition
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 17:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.