This command ruins my serverstart
#5

If it gives file or function not found run time error, then as SilentSoul said, you probably haven't load sscanf plugin which is needed for the command. Load nativechecker plugin and add it last to the plugins line in server.cfg. It will print what functions are not registered.

Quote:
Originally Posted by Seif-
Посмотреть сообщение
You can't set strings like that. Use format, strmid or strins.
Are you referring to this?
pawn Код:
stock GetClanName(playerid)
{
    new string[56];
    if(Clan[playerid] == 1)
    {
        string = "Griffing";
    }
    if(Clan[playerid] == 2)
    {
        string = "Smygard";
    }
    if(Clan[playerid] == 3)
    {
        string = "Hеsblеs";
    }
    if(Clan[playerid] == 4)
    {
        string = "Ravnklo";
    }
    return string;
}
If yes, then we can set strings like that and it's a valid one. You can also do:
pawn Код:
new string[6] = "Seif-";
Format is not recommended at all since it's pretty much slow.
Reply


Messages In This Thread
This command ruins my serverstart - by Qaiis - 12.01.2014, 15:01
Re: This command ruins my serverstart - by SilentSoul - 12.01.2014, 15:04
Re: This command ruins my serverstart - by Seif- - 12.01.2014, 15:05
Re: This command ruins my serverstart - by Qaiis - 12.01.2014, 15:11
Re: This command ruins my serverstart - by Konstantinos - 12.01.2014, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)