Error StopPlayerHoldingObject
#1

Код:
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83432) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83436) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83440) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83444) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83448) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83452) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83456) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83460) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83464) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83468) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83472) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83476) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Documents and Settings\Korisnik\Desktop\SA-MP 0.3b R2 Windows Server\gamemodes\larp.pwn(83480) : error 017: undefined symbol "SetPlayerHoldingObject"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
What I need to do?
Reply
#2

Replace the SetPlayerHoldingObject with 0.3c's: SetPlayerAttachedObject.It gots 1 different thing, so you better check the wiki to see it.You will need to add the index, after playerid ( ex.: SetPlayerAttachedObject(playerid,0,18112); ).The index is the number of the attached object, so it could be easly finded when you remove it. ( you can attach only 5 objects per player max ). To remove it, use RemovePlayerAttachedObject(playerid,index);
Reply
#3

Quote:
Originally Posted by Iuri
Посмотреть сообщение
Replace the SetPlayerHoldingObject with 0.3c's: SetPlayerAttachedObject.It gots 1 different thing, so you better check the wiki to see it.
Sorry, I couldn't find it now on wiki. Thanks.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)