invalid function or declaration
#1

(45225) : error 010: invalid function or declaration
(45233) : error 010: invalid function or declaration
(45241) : error 010: invalid function or declaration

Line 45225:
pawn Код:
if(spot[playerid] == SPOT_GS_DILLIMORE)

Line 45233:

pawn Код:
if(int_b[playerid] == INTB_DILLIMORE && GetPlayerInterior(playerid) == 16)
Line 45241
pawn Код:
else if(IsPlayerInSphere(i,691.5836,-546.8424,16.3359,2))
Reply
#2

post 3 lines for and after the error lines
Reply
#3

Show us where you defined SPOT_GS_DILLIMORE INTB_DILLIMORE and IsPlayerInSphere function.
Reply
#4

pawn Код:
return 1;
        }

        if(spot[playerid] == SPOT_GS_DILLIMORE) // General Store Dillimore Enter
        {
        SetPlayerPos(playerid,-25.1320,-139.0662,1003.5469);
        SetPlayerInterior(playerid,16);
        SetPlayerFacingAngle(playerid,0.0000);
        int_b[playerid] = INTB_DILLIMORE;
        }
       
        if(int_b[playerid] == INTB_DILLIMORE && GetPlayerInterior(playerid) == 16) // General Store Dillimore Exit
        {
        SetPlayerPos(playerid,690.0602,-546.5984,16.3359);
        SetPlayerInterior(playerid,0);
        SetPlayerFacingAngle(playerid,91.9041);
        int_b[playerid] = INTB_NONE;
        }
       
         else if(IsPlayerInSphere(i,691.5836,-546.8424,16.3359,2)) // General Store [DILLIMORE]
      {
      GameTextForPlayer(i,"~b~General Store~y~:~w~ dillimore~n~~w~use ~y~/~w~enter ~y~/~w~exit",1200, 3);
      spot[i] = SPOT_GS_DILLIMORE;
      }
Reply
#5

up.c.
Reply
#6

cmon help...
Reply
#7

What are the #define lines SPOT_GS_DILLIMORE and INTB_DILLIMORE is what he meant. Show them and also post your whole IsPlayerInSphere function!
Reply
#8

pawn Код:
#define INTB_DILLIMORE 0
#define SPOT_GS_DILLIMORE 4

return 1;
        }

        if(spot[playerid] == SPOT_GS_DILLIMORE) // General Store Dillimore Enter
        {
        SetPlayerPos(playerid,-25.1320,-139.0662,1003.5469);
        SetPlayerInterior(playerid,16);
        SetPlayerFacingAngle(playerid,0.0000);
        int_b[playerid] = INTB_DILLIMORE;
        }
       
        if(int_b[playerid] == INTB_DILLIMORE && GetPlayerInterior(playerid) == 16) // General Store Dillimore Exit
        {
        SetPlayerPos(playerid,690.0602,-546.5984,16.3359);
        SetPlayerInterior(playerid,0);
        SetPlayerFacingAngle(playerid,91.9041);
        int_b[playerid] = INTB_NONE;
        }
       
         else if(IsPlayerInSphere(i,691.5836,-546.8424,16.3359,2)) // General Store [DILLIMORE]
      {
      GameTextForPlayer(i,"~b~General Store~y~:~w~ dillimore~n~~w~use ~y~/~w~enter ~y~/~w~exit",1200, 3);
      spot[i] = SPOT_GS_DILLIMORE;
      }
Reply
#9

some1?
Reply
#10

up!,..,.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)