SA-MP Forums Archive
Hello Guys Help Me - 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: Hello Guys Help Me (/showthread.php?tid=653757)



Hello Guys Help Me - Marv123 - 12.05.2018

Iam Getting this Erros

PHP код:
E:\Gamers Evolution Freeroam\gamemodes\Testing.pwn(73) : error 029: invalid expression, assumed zero
E
:\Gamers Evolution Freeroam\gamemodes\Testing.pwn(73) : error 029: invalid expression, assumed zero
E
:\Gamers Evolution Freeroam\gamemodes\Testing.pwn(73) : warning 215: expression has no effect
Pawn compiler 3.2.3664              Copyright 
(c) 1997-2006, ITB CompuPhase
2 Errors
. 
Line
PHP код:
SetDynamicObjectMaterialText(StatsObject, 0, ""RED_E"TH :: The Hills Stunting\n"ORANGE_E"Build "BUILD" "RED_E"- https://forum.te-host.com/\n\n"RED_E"Players Online: 0", OBJECT_MATERIAL_SIZE_256x128, "Arial", 22, 0, 0xFF0000FF, 9, 0); 
Help Me Guys


Re: Hello Guys Help Me - FaLLenGirL - 12.05.2018

* Defines must be like this:
PHP код:
#define RED_E "{FF0000}"
#define ORANGE_E "{FFC400}"
#define BUILD "1" 

*
Function:
PHP код:
SetDynamicObjectMaterialText( StatsObject, 0, ""RED_E"TH :: The Hills Stunting\n"ORANGE_E"Build: "BUILD" "RED_E"- forum.te-host.com\n\n"RED_E"Players Online: 0", OBJECT_MATERIAL_SIZE_256x128, "Arial", 22, 0, 0xFF0000FF, 9, 0 );