[HELP] WHAT ?!
#1

My map wasen't working the elevator I use a streamer (Y_Objects) and the elevator don't grab the person , the object just move and pass by you.

but now, when I tried compile trying to solve the problem, these ERRORS :

Код:
C:\Documents and Settings\Gustavo\Desktop\samp02Xserver.win32\filterscripts\MAP.pwn(92) : error 001: expected token: ",", but found "."
C:\Documents and Settings\Gustavo\Desktop\samp02Xserver.win32\filterscripts\MAP.pwn(92) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gustavo\Desktop\samp02Xserver.win32\filterscripts\MAP.pwn(92) : warning 215: expression has no effect
C:\Documents and Settings\Gustavo\Desktop\samp02Xserver.win32\filterscripts\MAP.pwn(92) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Gustavo\Desktop\samp02Xserver.win32\filterscripts\MAP.pwn(92) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.

HELP PLEASE
Reply
#2

CODE PLEASE
Reply
#3

Sorry my fault , i forget it ;x

Millions sorry

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 	if(strcmp(cmdtext, "/eup", true, 5) == 0)
	{
   		MoveDynamicObject(elevator, 1840.252563, -1662.095337, 112.666771, 2 .00);
		return 1;
   	}

 	if(strcmp(cmdtext, "/edown", true, 4) == 0)
	{
   		MoveDynamicObject(elevator, 1840.252563, -1662.095337, 58.791744, 2.00);
   		return 1;
   	}
	return 0;
}
Reply
#4

You cant have spaces between your numbers, This
pawn Код:
MoveDynamicObject(elevator, 1840.252563, -1662.095337, 112.666771, 2 .00);
should be
pawn Код:
MoveDynamicObject(elevator, 1840.252563, -1662.095337, 112.666771, 2.00);
Reply
#5

Now it compile , but when the object move (i am upon the object ) it dosen't cash me and go up , it pass by my self and goes up .

Can u help me ?

Sorry for bad english
Reply
#6

Its depends on how the streamer works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)