SA-MP Forums Archive
Ghost objects! Spookie bug. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ghost objects! Spookie bug. (/showthread.php?tid=188237)



Ghost objects! Spookie bug. - mihaitza55 - 06.11.2010

Ok so I got a problem, when I'm adding objects (the 0.3a way) everything's allright, BUT, when I try to add them the 0.3b way, with ",250.0" so they can bee seen from 250 meters away, I get warnings, like : D:\SAMP Server 0.3b\gamemodes\redzone.pwn(7986) : warning 202: number of arguments does not match definition

I actually took the example from sa-mp wiki, like this :

CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0); // This objects appears, but if you get away from it, it'll dissapear. Like this : ~3 meters away : http://img.b-zone.ro/images/12847204919776931834.png and ~7 meters away : http://img.b-zone.ro/images/59972115265774770982.png (you can't even SEE that)
So everything's OK but it dissapears if you get like 5 meters away from it...

And here's the 0.3b way, also in the sa-mp wiki example :

CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 250.0); And the pic : http://img.b-zone.ro/images/35580465701655214876.png . Everything is great here, BUT the script gives the following warning , although it's OK ingame as you see in the screenie : D:\SAMP Server 0.3b\gamemodes\redzone.pwn(7986) : warning 202: number of arguments does not match definition

So, not really sure why that ", 250.0" gives the warning, and YES I am using the 0.3b scripting pack (pawno)

That's kind of it, and I would like to know if there's any way at all I could get rid of the warnings, because I have over 100 objects and 100 warnings would be quite bad.

Thanks ! Please leave your oppinion here.


Re: Ghost objects! Spookie bug. - MadeMan - 06.11.2010

Do you open the script with pawno.exe ?


Re: Ghost objects! Spookie bug. - mihaitza55 - 06.11.2010

No, I double click the script... Wait I'll try pawno.exe too

Tried it, same.

487 Warnings.


Re: Ghost objects! Spookie bug. - mihaitza55 - 06.11.2010

Any ideas guys ?

Same thing when I use pawno.exe ...


Re: Ghost objects! Spookie bug. - mihaitza55 - 07.11.2010

*bump*

............ help please?