[Tutorial] SetObjectMaterial Help
#20

pawn Code:
public OnPlayerCommandText(playerid,cmdtext[])
{
    if(!strcmp(cmdtext,"/mycommand",true))
    {
    new myobject;
    myobject = CreateObject(777, 1490.29, 2595.46, 10.06, 0.00, 0.00, 0.00); // treee
    SetObjectMaterial(myobject, 0, 19128, "dancefloors", "dancefloor1", 0);
    return 1;
    }
    return 0;
}
and i get 1 error and 1 warrning

SOMEONE HELP PLEASE !


C:\Documents and Settings\Admin\Desktop\samp 0.3e\filterscripts\tree.pwn(1 : error 017: undefined symbol "SetObjectMaterial"
C:\Documents and Settings\Admin\Desktop\samp 0.3e\filterscripts\tree.pwn(17) : warning 204: symbol is assigned a value that is never used: "myobject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

when i #define SetObjectMaterial i get 2 warrnings


C:\Documents and Settings\Admin\Desktop\samp 0.3e\filterscripts\tree.pwn(1 : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\samp 0.3e\filterscripts\tree.pwn(17) : warning 204: symbol is assigned a value that is never used: "myobject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
SetObjectMaterial Help - by Drebin - 05.04.2012, 00:11
Re: SetObjectMaterial Help - by steki. - 05.04.2012, 00:15
AW: Re: SetObjectMaterial Help - by Drebin - 05.04.2012, 00:16
Re: SetObjectMaterial Help - by CJoao - 05.04.2012, 00:19
Re: SetObjectMaterial Help - by Luis- - 05.04.2012, 00:24
AW: Re: SetObjectMaterial Help - by Drebin - 05.04.2012, 00:31
Re: SetObjectMaterial Help - by Luis- - 05.04.2012, 00:35
Re: SetObjectMaterial Help - by Kar - 05.04.2012, 00:39
AW: SetObjectMaterial Help - by Drebin - 05.04.2012, 00:42
Re: SetObjectMaterial Help - by Luis- - 05.04.2012, 00:49
AW: SetObjectMaterial Help - by Drebin - 05.04.2012, 01:30
Re: SetObjectMaterial Help - by Kar - 05.04.2012, 02:45
Re: SetObjectMaterial Help - by Psymetrix - 05.04.2012, 04:46
Re: SetObjectMaterial Help - by Libra_PL - 05.04.2012, 09:28
AW: SetObjectMaterial Help - by C0dy09 - 05.04.2012, 14:28
AW: SetObjectMaterial Help - by Drebin - 05.04.2012, 14:45
AW: SetObjectMaterial Help - by C0dy09 - 05.04.2012, 16:24
Re: SetObjectMaterial Help - by Kar - 05.04.2012, 18:38
Re: SetObjectMaterial Help - by Gireada - 07.04.2012, 15:21
Re: SetObjectMaterial Help - by Dude_Lebowski - 12.06.2012, 12:52
Re: SetObjectMaterial Help - by Niko_boy - 12.06.2012, 13:05
Re: SetObjectMaterial Help - by Jonny5 - 12.06.2012, 15:52
Re: SetObjectMaterial Help - by newbienoob - 12.06.2012, 17:58
Re: SetObjectMaterial Help - by Jonny5 - 12.06.2012, 18:49
Re: SetObjectMaterial Help - by newbienoob - 12.06.2012, 19:10
Re: SetObjectMaterial Help - by Don Lidner - 15.06.2012, 21:16
Re: SetObjectMaterial Help - by Kindred - 15.06.2012, 21:24
Re: SetObjectMaterial Help - by Karkand - 18.08.2012, 04:08
Re: SetObjectMaterial Help - by IceMeteor - 24.08.2012, 07:08
Re: SetObjectMaterial Help - by Augis123 - 08.09.2013, 19:08
Re: SetObjectMaterial Help - by Augis123 - 10.09.2013, 11:50
Re: SetObjectMaterial Help - by iLuXing - 28.12.2014, 11:47
Re: SetObjectMaterial Help - by MonSterLikeHD - 23.04.2016, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)