Need help with family system..
#1

I'm working on dynamic family system and problem is when i compile i get this:

Код:
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : warning 213: tag mismatch
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : error 033: array must be indexed (variable "rtext")
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : error 029: invalid expression, assumed zero
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : warning 215: expression has no effect
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : error 001: expected token: ";", but found "]"
C:\Users\Borna\Documents\SAMP\WTF\gamemodes\23listopad.pwn(6493) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


4 Errors.
here is that script:

Код:
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Family1
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = Family1Info[targetid][FamilyRank1]; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = Family1Info[targetid][FamilyRank2]; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = Family1Info[targetid][FamilyRank3]; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = Family1Info[targetid][FamilyRank4]; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = Family1Info[targetid][FamilyRank5]; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = Family1Info[targetid][FamilyRank6]; }
            else if(PlayerInfo[targetid][pRank] == 7) { rtext = Family1Info[targetid][FamilyRank7]; }
        }
Reply


Messages In This Thread
Need help with family system.. - by Furious666 - 23.10.2010, 12:37
Re: Need help with family system.. - by iJumbo - 23.10.2010, 12:49
Re: Need help with family system.. - by Furious666 - 23.10.2010, 14:14
Re: Need help with family system.. - by Furious666 - 23.10.2010, 22:06
Respuesta: Need help with family system.. - by The_Moddler - 23.10.2010, 22:15
Re: Need help with family system.. - by Kidemo - 23.10.2010, 22:17
Re: Respuesta: Need help with family system.. - by Furious666 - 24.10.2010, 08:10
Re: Need help with family system.. - by Retardedwolf - 24.10.2010, 08:28
Re: Need help with family system.. - by Furious666 - 24.10.2010, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)