Pois bem criei um topico ontem sobre um sistema de radar que eu precisava converter, mas então me falaram para apenas coloca-lo no GM, e foi o que eu fiz.
Com isso surgiram alguns erros na hora de compilar:
ERROS:
Linha do ERRO:
7723
577
7731,7732,7733
7765
Com isso surgiram alguns erros na hora de compilar:
ERROS:
PHP Code:
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(577) : error 017: undefined symbol "SavePlayerPosEnum"
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(577) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7723) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7723) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7723) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7731) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7732) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7733) : warning 213: tag mismatch
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7765) : warning 219: local variable "xx" shadows a variable at a preceding level
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7765) : warning 219: local variable "yy" shadows a variable at a preceding level
C:\Users\Cliente\Desktop\[] GTA SA []\Servidor\Brasil Game Fire\gamemodes\BPS.pwn(7765) : warning 219: local variable "zz" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
7723
PHP Code:
distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[i][LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[i][LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[i][LastZ])),2));
PHP Code:
new SavePlayerPos[SLOTS][SavePlayerPosEnum];
PHP Code:
SavePlayerPos[i][LastX] = x;
SavePlayerPos[i][LastY] = y;
SavePlayerPos[i][LastZ] = z;
PHP Code:
stock AddFlitsPaal(playerid, modelid, Float:xx, Float:yy, Float:zz, radius, speed)