Jump to content
  • 0

Cum pot scapa de erorile astea!?


Question

Posted

?Cum pot scama de erorile urmatoare

C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15288) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15290) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15292) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15296) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15300) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15304) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15308) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15312) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15316) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15320) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15324) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15328) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15332) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15334) : error 010: invalid function or declaration
C:\Documents and Settings\Spilter\Desktop\Creepz Server Bun\gamemodes\v1.pwn(15337) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


15 Errors.
Liniile
if(dialogid==bandana)
        {
                if(response)
                {
                        if(listitem==0)
                        {
            SetPlayerAttachedObject( playerid, 0, 18917, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==1)
                        {
            SetPlayerAttachedObject( playerid, 0, 18913, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==2)
                        {
            SetPlayerAttachedObject( playerid, 0, 18916, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==3)
                        {
            SetPlayerAttachedObject(playerid, 0, 18915, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==4)
                        {
            SetPlayerAttachedObject(playerid, 0, 18912 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==5)
                        {
            SetPlayerAttachedObject(playerid, 0, 18911 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==6)
                        {
            SetPlayerAttachedObject( playerid, 0, 18914, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==7)
                        {
            SetPlayerAttachedObject(playerid, 0, 18918, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==8)
                        {
            SetPlayerAttachedObject(playerid, 0, 18920 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==9)
            {
            SetPlayerAttachedObject(playerid, 0, 18919 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
                        }
                        if(listitem==10)
                        {
            for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i);
                        }
                }
        return 1;
        }

5 answers to this question

Recommended Posts

Posted

[pawn]            SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ, materialcolor1, materialcolor2);[/pawn]

Posted

Uite ce am pus

#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9)    SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)

#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)

#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.