SA-MP Forums Archive
Help with CONVERT - 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: Help with CONVERT (/showthread.php?tid=191735)



Help with CONVERT - IceDrift - 20.11.2010

Please, anyone to convert this GM. I Am noob in a Scripting but I now learn. When I convert, give me this erorr - fatal error 100: cannot read from file: "Y_Objects". I don't know what I must to do to convert this GM.

Please, HELP ME...


Re: Help with CONVERT - Lorenc_ - 20.11.2010

Do u have Y_Objects? Download it and put it in your pawno, directory IN THE INCLUDES folder.


Re: Help with CONVERT - IceDrift - 20.11.2010

I have Y_Objects in include in pawno directory.

I Download new Y_Objects. Don't give me this erorr but now give me this - warning 203: symbol is never used: "Object_OnPlayerDisconnect"


Re: Help with CONVERT - [MWR]Blood - 20.11.2010

Well that isn't a big issue, it just tells u that the function Object_OnPlayerDisconnect is never used...
Use
pawn Код:
#pragma unused Object_OnPlayerDisconnect
at the top of your code


Re: Help with CONVERT - IceDrift - 20.11.2010

Yes, It work. 10x of all for help.

I will remove upload pwn file for not copy...!


Re: Help with CONVERT - Lorenc_ - 20.11.2010

Quote:
Originally Posted by Delux13
Посмотреть сообщение
Well that isn't a big issue, it just tells u that the function Object_OnPlayerDisconnect is never used...
Use
pawn Код:
#pragma unused Object_OnPlayerDisconnect
at the top of your code
Why do that, you maybe have to put that function on the OnPlayerDisconnect callback, IF I'M RIGHT. :S:S:S:S


Re: Help with CONVERT - TheXIII - 20.11.2010

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Why do that, you maybe have to put that function on the OnPlayerDisconnect callback, IF I'M RIGHT. :S:S:S:S
Yeah, Lorenc_ is right most likely. Remove the "#pragma unused Object_OnPlayerDisconnect" you added, and add the function inside your OnPlayerConnect callback instead. Else something won't work as it should.