16.11.2014, 19:00
So I'm HORRIBLE at scripting, enough said. I'm trying to change the material of this object using SetDynamicObjectMaterial and it is saying:
Again I am HOR-RIB-AL at coding so if you could just please give me some help it would be much appreciated!
Also my code is:
Код:
C:\Users\Jack\Desktop\Desktop\Server\gamemodes\map.pwn(36) : error 017: undefined symbol "CreateDynamicObject" C:\Users\Jack\Desktop\Desktop\Server\gamemodes\map.pwn(37) : error 017: undefined symbol "SetDynamicObjectMaterial" C:\Users\Jack\Desktop\Desktop\Server\gamemodes\map.pwn(39) : warning 217: loose indentation C:\Users\Jack\Desktop\Desktop\Server\gamemodes\map.pwn(36) : warning 204: symbol is assigned a value that is never used: "wall" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Also my code is:
Код:
public OnGameModeInit() { //SetObjectMaterial new wall = CreateDynamicObject(19362, 1094.85278, -1392.67969, 14.45113, 0.00000, 0.00000, 0.00000); SetDynamicObjectMaterial(wall, 0, 3924, "rc_warhoose", "white", 0xFFFFFFFF);