SA-MP Forums Archive
setobjectmaterial error - 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: setobjectmaterial error (/showthread.php?tid=439585)



setobjectmaterial error - OpticKiller - 26.05.2013

tell me if am doing this wrong i watched a tut on how to make them but i get 4 errors on one bit

sorry never mind fixed it.
Код:
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : error 017: undefined symbol "CreateObjectMaterial"
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : warning 215: expression has no effect
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : warning 215: expression has no effect
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : warning 215: expression has no effect
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : error 001: expected token: ";", but found ")"
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : error 029: invalid expression, assumed zero
C:\Users\Brandon\Desktop\IGRP\gamemodes\IGRP.pwn(1878) : fatal error 107: too many error messages on one line
Код:
new lspdobject = CreateObject(3976, 1571.60156, -1675.75000, 35.67969,   356.85840, 0.00000, 3.14159);
	CreateObjectMaterial(lspdobject, 0, 4113 "lanofficeblok1","sl_laoffblokwall1", 0);



Re: setobjectmaterial error - Hoborific - 26.05.2013

CreateObjectMaterial Should be SetObjectMaterial, I believe.


Re: setobjectmaterial error - OpticKiller - 26.05.2013

yea i fixed it now lol pointless post i should have done that. but also i been up all night and i get silly

EDIT: you need rep friend.


Re: setobjectmaterial error - Abhishek. - 26.05.2013

.....sorry
took too late too type and refresh