24.02.2014, 20:15
Hi guys, im new here, i started some time ago with pawno and now i have some little knowledge about how to, what to etc. I making a project with custom map and i would use SetObjectMaterial & SetObjectMaterialText, i was using till now Incognitos streamer but its really slow, Fallout have a faster one so decided to change. And now come steps on which i cant climb, Fallout havent added those functions to his streamer so i though i could use both streamers but if i add object by F_createObject and under it add SetObjectMaterial so it looks like:
i got error
is it some way to add this funcition to streamer? and if yes how can i do that? Or the only way for S.O.M. is use incognito streamer? thx for help
PHP код:
#include <a_samp>
#include <streamer>
#include <F_streamer>
new kolejnedno0;
public OnFilterScriptInit()
{
kolejnedno0 = F_CreateObject(18751,116.988,5081.883,-9.920,0.000,0.000,0.000, 200.0, true);
SetDynamicObjectMaterial(kolejnedno0, 0, 4992, "airportdetail", "hedge2", 0);
SetDynamicObjectMaterial(kolejnedno0, 1, 4992, "airportdetail", "hedge2", 0);
SetDynamicObjectMaterial(kolejnedno0, 2, 4992, "airportdetail", "hedge2", 0);
SetDynamicObjectMaterial(kolejnedno0, 3, 4992, "airportdetail", "hedge2", 0);
PHP код:
C:\Users\User\Desktop\PolandProject.pwn(167) : error 017: undefined symbol "SetDynamicObjectMaterial"