little help ? As Fast As You Can
#1

when i added this
http://pastebin.com/0KdvYDBd
it gives me this
pawn Код:
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(665) : error 017: undefined symbol "StopPlayerHoldingObject"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(993) : error 017: undefined symbol "StopPlayerHoldingObject"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1091) : error 017: undefined symbol "StopPlayerHoldingObject"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1102) : error 017: undefined symbol "SetPlayerHoldingObject"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1105) : error 017: undefined symbol "SetPlayerHoldingObject"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1108) : error 017: undefined symbol "SetPlayerHoldingObject"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
Reply
#2

Your script is wrong, use:

pawn Код:
SetPlayerHoldingObject(playerid, 1609, 2);
In the place where you see '1609' put there the model ID.
In the place where you see '2' put there the position where it should be placed on the body. (In this case, 2 is the head)
Reply
#3

i have anything fixed want to see my Script error parts? here it is
670 All is the Same problem
pawn Код:
public OnFilterScriptExit()
{
        for(new i=0;i<MAX_PLAYERS;i++)
            if(IsPlayerConnected(i))
                        StopPlayerHoldingObject(i);
        return 1;
}
Reply
#4

Quote:
Originally Posted by Roomeo
Посмотреть сообщение
i have anything fixed want to see my Script error parts? here it is
670 All is the Same problem
pawn Код:
public OnFilterScriptExit()
{
        for(new i=0;i<MAX_PLAYERS;i++)
            if(IsPlayerConnected(i))
                        StopPlayerHoldingObject(i);
        return 1;
}
Read my previous post /\
Reply
#5

But I don't Know the Model Id ? what model id and this didn't had any includes can you post it fixed here i want some weapons to be on leg and on back
Reply
#6

Sorry 4 Double Post!
pawn Код:
SetPlayerHoldingObject(playerid, modelid, 8,0.0,-0.1,0.15, -100.0, 0.0, 0.0);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)