SA-MP Forums Archive
Need Help! - 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)
+--- Thread: Need Help! (/showthread.php?tid=427813)



Need Help! - Jhony_Blaze - 03.04.2013

Hello community,I need a bit of help with mapping,how you can see I am newbie mapper and I don't know why but I am deep in mapping,I really like this thing and I want to ask from this great community if someone knows how to put in a map a custom text? I mean there is maybe a Police Department building and you want to put on it some custom text.


Re: Need Help! - DiGiTaL_AnGeL - 03.04.2013

Are you talking about SetObjectMaterialText?


Re: Need Help! - Jhony_Blaze - 03.04.2013

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
Are you talking about SetObjectMaterialText?
I think that should be,but how can I use that to put it onto a map,I mean if I have a building how do I put my custom text on it to be seen from outside?Btw I am Romanian too


Re: Need Help! - DiGiTaL_AnGeL - 03.04.2013

First create the object, then use the function I gave you at OnGameModeInit.


Re: Need Help! - Jhony_Blaze - 03.04.2013

I have the object,I will try with that,but I am not good at scripting


Re: Need Help! - Jhony_Blaze - 03.04.2013

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
First create the object, then use the function I gave you at OnGameModeInit.
One more question,can I do it as a filterscript?


Re: Need Help! - DiGiTaL_AnGeL - 03.04.2013

Use this filterscript if you're not good at scripting. It's really usefull, I use it too.


Re: Need Help! - Jhony_Blaze - 03.04.2013

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
Use this filterscript if you're not good at scripting. It's really usefull, I use it too.
Thanks and yes that will be a lot easier to use


Re: Need Help! - Jhony_Blaze - 03.04.2013

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
Use this filterscript if you're not good at scripting. It's really usefull, I use it too.
Dude I couldn't make the .amx for that filterscript it has an error when I try to compile it it sais

Код:
C:\Documents and Settings\Major\My Documents\Downloads\zGaming\filterscripts\customtext.pwn(2) : fatal error 100: cannot read from file: "../include/gl_common.inc"

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


1 Error.



Re: Need Help! - Stanford - 03.04.2013

Put that include into your include file and that's it.. you can find that include while downloading the newest samp 0.3x server files.