SA-MP Forums Archive
Warning help here - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning help here (/showthread.php?tid=591129)



Warning help here - N0FeaR - 08.10.2015

Warning i get
Код:
../gamemodes/OnGameMode.pwn(1573) : warning 202: number of arguments does not match definition
line 1573
pawn Код:
tmpobjid = CreateDynamicObject(3520,1464.851,-1698.696,13.475,0.000,0.000,0.000,-1,-1,-1,150.000,150.000);
thanks in advance


Re: Warning help here - IceBilizard - 08.10.2015

find in your streamer include file what is native of CreateDynamicObject then create.

or try

pawn Код:
CreateDynamicObject(3520,1464.851,-1698.696,13.475,0.0,0.0,0.0, 150);



Re: Warning help here - AbyssMorgan - 08.10.2015

update streamer

PHP код:
//old
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 200.0);
//new
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 200.0Float:drawdistance 0.0); 



Re: Warning help here - N0FeaR - 08.10.2015

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
find in your streamer include file what is native of CreateDynamicObject then create.

or try

pawn Код:
CreateDynamicObject(3520,1464.851,-1698.696,13.475,0.0,0.0,0.0, 150);
Thx its working now!


Re: Warning help here - faff - 08.10.2015

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Thx its working now!
You'd better update the streamer.
Drawing distance can be usefull sometimes.


Re: Warning help here - N0FeaR - 08.10.2015

Quote:
Originally Posted by faff
Посмотреть сообщение
You'd better update the streamer.
Drawing distance can be usefull sometimes.
Yeah i just realize that :P


Re: Warning help here - AbyssMorgan - 08.10.2015

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Thx its working now!
the person who wrote it knows no parameters, it is wrong

PHP код:
tmpobjid CreateDynamicObject(3520,1464.851,-1698.696,13.475,0.000,0.000,0.000,-1,-1,-1,150.000); //work