[HELP] WHAT'S WRONG ? - 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'S WRONG ? (
/showthread.php?tid=67136)
[HELP] WHAT'S WRONG ? -
Hot - 26.02.2009
Код:
public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp(cmdtext, "/eup", true) == 0) {
MoveObject(elevator, 1840.252563, -1662.095337, 112.666771, 3.00);
SendClientMessage(playerid, COLOR_RED, "You are now going up, Please Wait.");
}
if(strcmp(cmdtext, "/edown", true) == 0) {
MoveObject(elevator, 1840.252563, -1662.095337, 58.791744, 3.00);
SendClientMessage(playerid, COLOR_RED, "The Elevator is now comming, Please Wait.");
return 1;
}
Код:
C:\DOCUME~1\Gustavo\Desktop\SAMP02~1.WIN\FILTER~1\MAP.pwn(93) : error 010: invalid function or declaration
C:\DOCUME~1\Gustavo\Desktop\SAMP02~1.WIN\FILTER~1\MAP.pwn(96) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
HELP PLEASEEEEEEEEEEEEEEEEEEEEEEEEEEEE !
Re: [HELP] WHAT'S WRONG ? - Double-O-Seven - 26.02.2009
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/eup", true) == 0)
{
MoveObject(elevator, 1840.252563, -1662.095337, 112.666771, 3.00);
SendClientMessage(playerid, COLOR_RED, "You are now going up, Please Wait.");
return 1;
}
if(strcmp(cmdtext, "/edown", true) == 0)
{
MoveObject(elevator, 1840.252563, -1662.095337, 58.791744, 3.00);
SendClientMessage(playerid, COLOR_RED, "The Elevator is now comming, Please Wait.");
return 1;
}
return 0;
}
Re: [HELP] WHAT'S WRONG ? -
Hot - 26.02.2009
Thanks, now compile , but the elevator dosen't move
Re: [HELP] WHAT'S WRONG ? -
Hot - 26.02.2009
HELP PLEASEEEE
Re: [HELP] WHAT'S WRONG ? -
RyDeR` - 26.02.2009
Where is the:
And the
Код:
Elevator = CreateObject(x,y,z......);
Re: [HELP] WHAT'S WRONG ? -
Hot - 26.02.2009
LoL,
im not too much noob .
why dosen't move ?
Re: [HELP] WHAT'S WRONG ? -
JaYmE - 26.02.2009
[quote=ToD ]
Where is the:
And in the OnGameModeInit() put
pawn Код:
elevator = CreateObject(elevator ObjectID, ... so on);
Re: [HELP] WHAT'S WRONG ? -
[LorD]bAr[Sp] - 26.02.2009
You Got Any Streamer??
if You Got Do.....
MoveStreamObject(objectID,X,Y,Z,Speed);