06.12.2014, 10:19
i define this
#define MAX_FAMILY 1000
and this is my code
Command work fine but it also said unknown command
but when i change this
to
it work fine and don't send the unknown fuckin message
but when i try to redefine
and change this
back to
it still fuckin send unknown fuckin messageeeeeee
it happen to all stuff how to fixed it
#define MAX_FAMILY 1000
and this is my code
PHP код:
CMD:allfam(playerid, params[])
{
new string[512];
SCM(playerid,COLOR_LIGHTBLUE, "-------------------¤ГНє¤ГСЗ·ХиКГйТ§бЕйЗ--------------------");
for(new i=1; i<= MAX_FAMILY; i++)
{
if(FamilyInfo[i][fCreate] == 1)
{
format(string, sizeof(string), "КЕкНµ·Хи %i | ¤ГНє¤ГСЗ: %s | ЛСЗЛ№йТ: %s | КБТЄФЎ %i ¤№ ", i, FamilyInfo[i][fName], FamilyInfo[i][fOwner], count);
SCM(playerid,0x09F797C8, string);
count = 0;
}
}
return 1;
}
but when i change this
PHP код:
for(new i=1; i<= MAX_FAMILY; i++)
{
PHP код:
for(new i=1; i<= 950; i++)
{
but when i try to redefine
PHP код:
#define MAX_FAMILY 950
PHP код:
for(new i=1; i<= 950; i++)
{
PHP код:
for(new i=1; i<= MAX_FAMILY; i++)
{
it happen to all stuff how to fixed it