wrong with pd
#1

Can i know what's wrong with this ? btw i get a gate in game but i doesnt move...

Код HTML:
lspdgate = CreateObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0); //LSPD 1
Код HTML:
new lspdgate;
Код HTML:
    if(strcmp(cmdtext, "/pd", true) == 0)
	{
		MoveObject(lspdgate, 1588.5617, -1638.1036, 12.7200, 3.5);
                DestroyObject( lspdgate );
	}
thanks
Reply
#2

Your move object cordinates are the same as the createobject cordinates, that will not move the object and with that your also destroying it.
Reply
#3

it won't move because your coordinates are exactly the same.

pawn Код:
CreateObject( ... 1588.5617, -1638.1036, 12.7200 ... );
MoveObject(  ...  1588.5617, -1638.1036, 12.7200 ... );
you need to specify coordinates, where you want your object to move
Reply
#4

Do you mean that the coordines shouldn't be same as the coordines? , Well then how should i make the moveobject
coordines?
Reply
#5

Lol put x+5 or x-5
Reply
#6

Dude can you explain it well ?, What do you mean ' add -5 or 5 ' i dont get it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)