13.05.2017, 16:39
(205) : warning 213: tag mismatch
(213) : warning 213: tag mismatch
(221) : warning 213: tag mismatch
>> Above
(255) : warning 219: local variable "Angle" shadows a variable at a preceding level
(271) : warning 209: function "OnPlayerKeyStateChange" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Warnings.
Код:
if (strcmp ("/nrg", cmdtext, true,10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,">> NRG - 500 Spawned!"); GetPlayerPos(playerid, Float:X, Float:Y, Float:Z); GetPlayerFacingAngle(playerid, Float:Angle); CreateVehicle(522, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 5000); return 1;
Код:
if (strcmp ("/Hydra", cmdtext, true,10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,">> Hydra Spawned!"); GetPlayerPos(playerid, Float:X, Float:Y, Float:Z); GetPlayerFacingAngle(playerid, Float:Angle); CreateVehicle(520, Float: X, Float: Y, Float: Z + 2.0, Angle + 90.0, -1, -1, 5000); return 1; }
>> Above
(255) : warning 219: local variable "Angle" shadows a variable at a preceding level
Код:
new Float:x,Float:y,Float:z,Float:Angle;
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Warnings.