SA-MP Forums Archive
Hide Mini Map Halp ! - 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: Hide Mini Map Halp ! (/showthread.php?tid=515815)



Hide Mini Map Halp ! - Mach - 28.05.2014

hey everyone , when i tried to compile. this code shows
C:\Users\Chronized\Desktop\Rust Server\gamemodes\RustServer.pwn(5019) : error 010: invalid function or declaration
C:\Users\Chronized\Desktop\Rust Server\gamemodes\RustServer.pwn(5024) : warning 203: symbol is never used: "Map"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

This was my script , im trying to hide the minimap with a picture
}
new Text:Map;
Map = TextDrawCreate(25.0, 323.0, "samaps:map"); // LIB:image
TextDrawFont(Map, 4); // Font 4 to show the textures (and not text)
TextDrawTextSize(Map, 120.0, 100.0); // Size, X 120, Y 100, It's the texture size
TextDrawUseBox(Map, 1); // Add it if you want...


Re: Hide Mini Map Halp ! - Lynn - 28.05.2014

What's the code that's on the two lines that provided the error messages?