12.01.2014, 15:41
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.
Are you referring to this?
If yes, then we can set strings like that and it's a valid one. You can also do:
Format is not recommended at all since it's pretty much slow.
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;
}
pawn Код:
new string[6] = "Seif-";