Mapping error
#1

Hi, i am trying to add a color for a wall, but i don't know why i get this error, first, here is the script:

Quote:

new SupportWall100;
#define Green #{"1F5B16"}
SupportWall100 = CreateObject(19435, 1445.32605, -631.25519, 94.56500, 0.00000, 0.00000, 90.00000);
SetObjectMaterial(SupportWall100, 0, 19435, "all_walls", "wall6", Green);

And this is the error:

Quote:

C:\Users\Catalin\Desktop\SampForumHouse.pwn(40) : error 017: undefined symbol "Green"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply


Messages In This Thread
Mapping error - by MonSterLikeHD - 23.04.2016, 17:23
Re: Mapping error - by povargek - 23.04.2016, 17:31
Re: Mapping error - by MonSterLikeHD - 23.04.2016, 17:34
Re: Mapping error - by povargek - 23.04.2016, 17:37
Re: Mapping error - by MonSterLikeHD - 23.04.2016, 17:37
Re: Mapping error - by povargek - 23.04.2016, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)