[HELP] WHAT ?! - 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: [HELP] WHAT ?! (
/showthread.php?tid=67217)
[HELP] WHAT ?! -
Hot - 27.02.2009
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
Re: [HELP] WHAT ?! -
ICECOLDKILLAK8 - 27.02.2009
CODE PLEASE
Re: [HELP] WHAT ?! -
Hot - 27.02.2009
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;
}
Re: [HELP] WHAT ?! -
ICECOLDKILLAK8 - 27.02.2009
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);
Re: [HELP] WHAT ?! -
Hot - 27.02.2009
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
Re: [HELP] WHAT ?! -
ICECOLDKILLAK8 - 27.02.2009
Its depends on how the streamer works