SA-MP Forums Archive
MoveObject error - 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)
+--- Thread: MoveObject error (/showthread.php?tid=362915)



MoveObject error - Rabbayazza - 25.07.2012

Код:
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(538) : warning 202: number of arguments does not match definition
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(538) : warning 202: number of arguments does not match definition
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(538) : warning 202: number of arguments does not match definition
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(543) : warning 202: number of arguments does not match definition
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(543) : warning 202: number of arguments does not match definition
C:\Users\System user\Desktop\San Andreas\samp03e_svr_win32\gamemodes\Roleplay.pwn(543) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Warnings.
The code is

pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 10, 456.29998779,-1469.59997559,42.29999924))
        {
        if(!SunStatus)
        {
            MoveObject(SunRoof, 456.00000000,-1471.00000000,46.00000000, 3, 0.00000000,358.00000000,310.50000000); // LINE 538
            SunStatus = true;
        }
        else
        {
            MoveObject(SunRoof, 456.29998779,-1469.59997559,42.29999924, 3, 359.93893433,271.74871826,298.50097656); // LINE 543
            SunStatus = false;
        }



Re: MoveObject error - Devilxz97 - 26.07.2012

do u have this ?

pawn Код:
#include <streamer>



Re : Re: MoveObject error - lelemaster - 26.07.2012

Quote:
Originally Posted by Devilxz97
Посмотреть сообщение
do u have this ?

pawn Код:
#include <streamer>
You made me lol. He has MoveObject, not MoveDynamicObject.


Re: MoveObject error - Devilxz97 - 26.07.2012

OMG .. i didnt see the script carefully xDD
my bad XDD