Tag mismatch? Plz help me!
#1

pawn Код:
case 3: //Hydra %25000
            {
              new Float:angle,Float:x,Float:y,Float:z;
                GetPlayerFacingAngle(playerid,angle);
                GetPlayerPos(playerid,x,y,z);
              CreateVehicle(playerid,520,x,y+2,z,angle,-1,-1,15);// Errors on this line
              GivePlayerMoney(playerid,-25000);
        SendClientMessage(playerid,COLOR_ORANGE,"Server: Enjoy your 'Hydra'");
            }
        }
    }
    return 1;
}
Gives me 2 errors:

Код:
C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Flying.pwn(685) : warning 213: tag mismatch
C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Flying.pwn(685) : warning 202: number of arguments does not match definition
Plz help me with this
Reply
#2

pawn Код:
CreateVehicle([b]playerid[/b],520,x,y+2,z,angle,-1,-1,15);// Errors on this line
Why you got playerid there?

remove that and see how it goes
Reply
#3

Quote:
Originally Posted by Awaran[Enemy-Plus
; ]
pawn Код:
CreateVehicle([b]playerid[/b],520,x,y+2,z,angle,-1,-1,15);// Errors on this line
Why you got playerid there?

remove that and see how it goes
thnx
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)