Small Problem Need a Help pls !!!
#1

Hello, i tried to change objects from CreateObject to CreateDynamicObject and i got more warnings
at first i god warnings with undefine symbol CreateDynamicObject then i added it
Код:
#define CreateDynamicObject
now i got it
Код:
 D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(14) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(15) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(16) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(17) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(18) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(19) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(20) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(21) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(22) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(23) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(24) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(25) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(26) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(27) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(28) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(29) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(30) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(31) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(32) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(33) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(34) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(35) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(36) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(37) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(38) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(39) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(40) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(41) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(42) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(43) : warning 213: tag mismatch
D:\GTA PROG\for samp\FILTER SCRIPT\Cristmas\Sleigh.pwn(44) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


31 Warnings.
lines:
Код:
public OnFilterScriptInit()
{
        obj = CreateDynamicObject(1251, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj1 = CreateDynamicObject(19315, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj2 = CreateDynamicObject(19315, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj3 = CreateDynamicObject(19315, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj4 = CreateDynamicObject(19315, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj5 = CreateDynamicObject(1736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj6 = CreateDynamicObject(1736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj7 = CreateDynamicObject(1736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj8 = CreateDynamicObject(1736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj9 = CreateDynamicObject(19439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj10 = CreateDynamicObject(1408, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj11 = CreateDynamicObject(1408, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj12 = CreateDynamicObject(1724, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj13 = CreateDynamicObject(2745, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj14 = CreateDynamicObject(19439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj15 = CreateDynamicObject(19439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj16 = CreateDynamicObject(19439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj17 = CreateDynamicObject(19439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj18 = CreateDynamicObject(19054, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj19 = CreateDynamicObject(19055, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj20 = CreateDynamicObject(19058, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj21 = CreateDynamicObject(19056, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj22 = CreateDynamicObject(19065, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj23 = CreateDynamicObject(1251, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj24 = CreateDynamicObject(1251, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj25 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj26 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj27 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj28 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj29 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        obj30 = CreateDynamicObject(1319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
        vehicleid = 578;
        return 1;
}
Reply
#2

You need some include (streamer) to use "CreateDynamicObject"
Reply
#3

+REP you right it's compiled now
i added
Код:
#define CreateDynamicObject CreateObject
Thx Man So much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)