little help ? As Fast As You Can - 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: little help ? As Fast As You Can (
/showthread.php?tid=238138)
little help ? As Fast As You Can -
Roomeo - 11.03.2011
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.
Re: little help pleaze? -
Jantjuh - 11.03.2011
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)
Re: little help pleaze? -
Roomeo - 11.03.2011
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;
}
Re: little help pleaze? -
Jantjuh - 11.03.2011
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 /\
Re: little help ? As Fast As You Can -
Roomeo - 11.03.2011
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
Re: little help ? As Fast As You Can -
Roomeo - 11.03.2011
Sorry 4 Double Post!
pawn Код:
SetPlayerHoldingObject(playerid, modelid, 8,0.0,-0.1,0.15, -100.0, 0.0, 0.0);