24.08.2017, 22:09
Bom galera, eu queria saber se й preciso colocar esses tipos de include, core, file, float etc, eu tinha um gm que tinha essas includes, eu tirei e compilou normalmente, й preciso colocar elas mesmo assim?
C:\Users\zCyan\Desktop\PlayFenix v1.0\gamemodes\BPF.pwn(643) : warning 213: tag mismatch C:\Users\zCyan\Desktop\PlayFenix v1.0\gamemodes\BPF.pwn(644) : warning 213: tag mismatch C:\Users\zCyan\Desktop\PlayFenix v1.0\gamemodes\BPF.pwn(645) : warning 213: tag mismatch C:\Users\zCyan\Desktop\PlayFenix v1.0\gamemodes\BPF.pwn(646) : warning 213: tag mismatch C:\Users\zCyan\Desktop\PlayFenix v1.0\gamemodes\BPF.pwn(647) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings.
bool:IsPlayerAimingAtPlayer(playerid, target) { new Float:x, Float:y, Float:z; GetPlayerPos(target, x, y, z); if (IsPlayerAimingAt(playerid, x, y, z-0.75, 0.25)) return 1; if (IsPlayerAimingAt(playerid, x, y, z-0.25, 0.25)) return 1; if (IsPlayerAimingAt(playerid, x, y, z+0.25, 0.25)) return 1; if (IsPlayerAimingAt(playerid, x, y, z+0.75, 0.25)) return 1; return 0; }