small mapping probelm
#1

Someone posted their code of mapping a bank interior which I can't put in my script and press compile which gives me a lot of warnings. You know that creating objects in the script is 'CreateObject' not 'CreateDynamicObject'. We need to convert it using convertffs.com.

Actually, he posted a link for the code, but it includes 'SetDynamicObjectMaterial' which I can't convert. We can only convert objects or vehicles. Anyways, I'm giving you the link of the code and tell me what changes I could make so it can fit the script(using pawno).

https://pastebin.com/1BLNfSSB
Reply
#2

https://pastebin.com/SmgTi0JY
Reply
#3

Quote:
Originally Posted by sams90
Посмотреть сообщение
I got warnings. Some help?

error 017: undefined symbol "AT_bank_int"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Reply
#4

Any solutions?!
Reply
#5

I had no problems with compiling the original code you gave us (https://pastebin.com/1BLNfSSB).. Try using original, by original I mean non-converted code.. Just use Incognito's streamer plugin and include (#include <streamer>).
Reply
#6

Quote:
Originally Posted by Mido10
Посмотреть сообщение
I got warnings. Some help?

error 017: undefined symbol "AT_bank_int"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
add this at the top of your script.
new AT_bank_int[299];
Reply
#7

Quote:
Originally Posted by sams90
Посмотреть сообщение
How did you convert it from Dynamic to non-Dynamic?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)