SA-MP Forums Archive
[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 код:
CreateDynamicObjectoidstart[0], start[1], start[2], ang[0] + arxang[1] + aryang[2] + 180 arzworldidinterioridplayeridStreamDistanceDrawDistance, -10); 
veja os parametros;
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 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