Moveobject issue.
#1

I have been trying to utilize moveobject command in order to make an animation to a barrier, but no success.
I tried to place new obj; at the top, but it always give me an error message : I placed it at the top right under #include thingy.
PHP код:
warning 203symbol is never used"obj" 
then I was tying to script this function :

PHP код:
public OnGameModeInit()
{
    
obj CreateObject(9800.00.00.00.00.00.0);
    return 
1;


It this warning message showed up:
PHP код:
[B]warning 204symbol is assigned a value that is never used"obj"[/B
How can I define these weird commands ?
Reply
#2

use moveobject(obj, ...etc and the error dissapears
Reply
#3

That warning will not make a difference on if the gate moves or not. It will still move provided the code you are using is functional.

You can try adding this to the ongamemodeinit

pawn Код:
printf("%s", obj);
Reply
#4

What about :
PHP код:
obj CreateObject(9800.00.00.00.00.00.0); 
What should do here ?
and what about
PHP код:
new obj
?
Reply
#5

Those are both fine.
Reply
#6

I can't compile the file, it keep giving these error messages.
Reply
#7

The thing you posted above is a warning. It will not make a difference and your script still compiles.
Reply
#8

It won't let me run my server, unless I solve the problem.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)