Compiling Error
#1

I'm not an actual scripter..but I can rename some stuff.
In this script, I can change anything, even add a comment (//like this) and it gives me this compiling error:
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(193) : warning 201: redefinition of constant/macro (symbol "MAX_ROADBLOCKS")
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24758) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24759) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24760) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24761) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24762) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24763) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24764) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24982) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24983) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24984) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24985) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24986) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24987) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24988) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24989) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24990) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24991) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24992) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24993) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24994) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24995) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24996) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24997) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24998) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(24999) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(25000) : error 017: undefined symbol
"SetDynamicObjectMaterial"

Here's how it looks in the script: (Formatting is wrong, I put the line numbers. In the script the format is correct)

24758 SetDynamicObjectMaterial(BancoLS, 2, 3942, "bistro", "ahoodfence2", 0);
SetDynamicObjectMaterial(BancoLS, 4, 16016, "des_n", "ranchwall1", 0);
SetDynamicObjectMaterial(BancoLS, 5, 16005, "des_stownmain2", "des_redslats", 0);
SetDynamicObjectMaterial(BancoLS, 6, 964, "cj_crate_will", "CJ_FLIGHT_CASE", 0);
SetDynamicObjectMaterial(BancoLS, 7, 16021, "des_geyser", "shingles1", 0);
SetDynamicObjectMaterial(BancoLS, 8, 16005, "des_stownmain2", "sanruf", 0);
24764 SetDynamicObjectMaterial(BancoLS, 9, 6295, "lawland2", "lightglass", 0);

24982 SetDynamicObjectMaterial(cell0, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell1, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell2, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell3, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell4, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell5, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell6, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell7, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell8, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell9, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell10, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell11, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell12, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell13, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell14, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell15, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell16, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
SetDynamicObjectMaterial(cell17, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);
25000 SetDynamicObjectMaterial(cell18, 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFF000000);

Any idea what this may be how to fix it?
Obviously it's mapping that was already there, but yeah.
Please help!
Reply
#2

update the streamer and recompile your script

http://forum.sa-mp.com/showthread.ph...amer+Incognito
Reply
#3

Quote:
Originally Posted by Donvalley
Посмотреть сообщение
update the streamer and recompile your script

http://forum.sa-mp.com/showthread.ph...amer+Incognito
Thanks, that worked!
Reply
#4

no problem a little tip, next time you post code post it in between [pawn] tags
Makes it easier to read
Reply
#5

Quote:
Originally Posted by Donvalley
Посмотреть сообщение
no problem a little tip, next time you post code post it in between


{
pawn Код:
CODE HERE
}

Makes it easier to read
Will do!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)