[Ajuda] warning 202!!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] warning 202!!! (
/showthread.php?tid=607811)
warning 202!!! -
SonicFreeStyle - 24.05.2016
olб pessoal! estou com erro 202 em uma linha de CreateDynamicObject mas nгo sei o porque! Eu sei o que o warn significa mais nгo entendo o porque estб dando
Linha:
pawn Код:
CreateDynamicObject( oid, start[0], start[1], start[2], ang[0] + arx, ang[1] + ary, ang[2] + 180 + arz, worldid, interiorid, playerid, StreamDistance, DrawDistance);
Re: warning 202!!! - Whoo - 24.05.2016
Tenta
PHP код:
CreateDynamicObject( oid, start[0], start[1], start[2], ang[0] + arx, ang[1] + ary, ang[2] + 180 + arz, worldid, interiorid, playerid, StreamDistance, DrawDistance, -1, 0);
veja os parametros;
PHP код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
Re: warning 202!!! -
SonicFreeStyle - 24.05.2016
agora deu 3 erros iguais na mesma linha kkkkkk 3 warns 202
Re: warning 202!!! -
F1N4L - 24.05.2016
@Whoo estб certo. Verifique se os parвmetros estгo corretos e se as variaveis tbm.
Код:
new oid;
new Float:start[3];
new arx;
new ary;
new arz;
new Float:ang[3];
new worldid;
new interiorid;
new playerid;
new Float:StreamDistance;
new Float:DrawDistance;
CreateDynamicObject( oid, start[0], start[1], start[2], ang[0] + arx, ang[1] + ary, ang[2] + 180 + arz, worldid, interiorid, playerid, StreamDistance, DrawDistance);
Re: warning 202!!! -
moura98 - 29.05.2016
Pode estar faltando algum parametro verifique a funзгo