Ghost objects! Spookie bug.
#1

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.
Reply
#2

Do you open the script with pawno.exe ?
Reply
#3

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

Tried it, same.

487 Warnings.
Reply
#4

Any ideas guys ?

Same thing when I use pawno.exe ...
Reply
#5

*bump*

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


Forum Jump:


Users browsing this thread: 3 Guest(s)