{Pomoc}oko kapije

Započeo goxyru, Avgust 30, 2013, 01:14:38 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

problem : radim moj mod, i gledam sa jednog moda da uradim kapiju pomicnu.. na tom modu nema erora, sve uradim kao i tamo ... kapija koju sam gledao je kapija za yakuzu i ona ima
new YAkapija;
new YAkapijaZ;
YAkapijaZ =  add....(koordinate)
uradim sve tako sa naravno mojim podatcimai izadje eror...
i naravno koordinate zatvorene kapije
mod koji koristim : Moj mod radjen od 0
deo skrite :


new RobertGate
new RobertGateZ



   else if(PlayerToPoint(10.0, playerid,2799.30005, -1588.09998, 18.3, 3))
    {
        if(PlayeInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //izadje mi neki eror ovde
        {
            if(RobertGate == 0)
            {
            MoveDynamicObject(RobertGate, 2799.2998, -1588.09961, 12.7, 3);
         GetPlayerName(playerid, sendername, sizeof(sendername));
          format(string, sizeof(string), "{0049FF}RobOrg:{FFFFFF}%s uzima daljinski i otvara kapiju.", sendername);
         ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         RobertGate = 1;
            return 1;
         }
            else
            {
         MoveDynamicObject(Robertgate, 2799.30005, -1588.09998, 18.3, 3);
         GetPlayerName(playerid, sendername, sizeof(sendername));
          format(string, sizeof(string), "{0049FF}RobOrg:{FFFFFF}%s uzima daljinski i zatvara kapiju.", sendername);
         ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         RobertGateZ = 0;
            return 1;
         }
         }
         return 1;
     }

RobertGateZ =    CreateObject(980, 2799.30005, -1588.09998, 18.3, 0, 0, 358.745);  //ovo mi stoji tamo gde su ostali objekti vezani za ovu org
Californian Dream Owner


else if(PlayerToPoint(10.0, playerid,2799.30005, -1588.09998, 18.3, 3)) // ovde izadje ovo  --   warning 202: number of arguments does not match definition
if(PlayeInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)   // a za ovo mi izadje sve ovo ispod :(
error 017: undefined symbol "PlayeInfo"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
Californian Dream Owner

Ovde "if(PlayeInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //izadje mi neki eror ovde" Stavio si "PlayeInfo" umesto "PlayerInfo" ili "PI"

Hvala Sale... umor... oci mi pobelele pa nisam znao sta vise..
Moze LOCK
Californian Dream Owner