16.06.2015, 07:35
I'm using the plugin and include from this topic
SA-MP Dedicated Server ---------------------- v0.3.7, ©2005-2015 SA-MP Team [18:58:15] [18:58:15] Server Plugins [18:58:15] -------------- [18:58:15] Loaded 0 plugins. [18:58:15] [18:58:15] Filterscripts [18:58:15] --------------- [18:58:15] Loading filterscript 'vspawner.amx'... [18:58:15] --Admin Vehicle Spawner Loaded [18:58:15] Loading filterscript 'FLUSH.amx'... [18:58:15] Loading filterscript 'Animation.amx'... [18:58:15] -------------------------------------- [18:58:15] Filterscript Creator by Arlindi [18:58:15] Animlist Commands [18:58:15] Filterscript Creator by Arlindi [18:58:15] Its Useful ANIMATIONS [18:58:15] -------------------------------------- [18:58:15] Loading filterscript 'graffity.amx'... [18:58:15] Loading filterscript 'MAPPING.amx'... [18:58:15] Loaded 5 filterscripts. [18:58:15] Script[gamemodes/MAINGM.amx]: Run time error 19: "File or function is not found" [18:58:15] Number of vehicle models: 0 |
plugins sscanf.so ;For posix plugins sscanf ;For windows
I have downloaded all different versions of this plugin.
Yes I have tried 2.8.2 and .1 and gone back to 0.3z version of it and still it doesn't work. I am using the correct version of the include for each one I download. - I have tried almost every possibility of this, everything your thinking of I probably done. Unless there a code manipulation or a edit version of the plugin for linux. I have no idea how to proceed. I have experience with most programming languages (check signature) so I understand things most people who script don't know. However you can't know it all. I just don't understand why it not working, I get no errors and the only difference is the server version and the plugin updates to the latest version. Nothing in my gamemode has changed since the end of 0.3z at which the server was online and working full time. |
if(sscanf(params, "us[30]",id,rsn)) return SendClientMessage(playerid,COLOR_RED,"Usage: /ban <playerid> <reason>");
Not sure if this is a bug with coding, or what.
Sometimes, my admins are noticing that sscanf is returning "no player found" while using the 'u' specifier. Код:
if(sscanf(params, "us[30]",id,rsn)) return SendClientMessage(playerid,COLOR_RED,"Usage: /ban <playerid> <reason>"); I did notice that this wont happen if the 'd' specifier is used, but 'u' is better because you can type the name also. |
Not sure if this is a bug with coding, or what.
Sometimes, my admins are noticing that sscanf is returning "no player found" while using the 'u' specifier. Код:
if(sscanf(params, "us[30]",id,rsn)) return SendClientMessage(playerid,COLOR_RED,"Usage: /ban <playerid> <reason>"); I did notice that this wont happen if the 'd' specifier is used, but 'u' is better because you can type the name also. |
SSCANF:players(string[])
{
new ret = INVALID_PLAYER_ID;
if(isnumeric(string))
{
new p = strval(string); // Better than using strval twice.
if(IsPlayerConnected(p))
ret = p;
}
else foreach(new p: Player)
{
if(strfind(ReturnPlayerName(p), string, true) != -1)
{
ret = p;
break;
}
}
return ret;
}
new targetid;
sscanf(params, "k<players>", targetid))
if(targetid == INVALID_PLAYER_ID)
return SendClientMessage(playerid, -1, "Error [Command]: Invalid player name/id specified.");
else
{
// Execute rest of command.
}