SetObjectMaterial question
#5

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Yes this is 'playerid' ( objectid ) you want to change material and you need use modelid in if statement

for single model

pawn Код:
if(GetObjectModel(i) == 1500)
{
// change material here
}
or multiple models

pawn Код:
switch(GetObjectModel(i))
{
    case model_here: SetObjectMaterial(...);
    case model_here: SetObjectMaterial(...);
    case model_here: SetObjectMaterial(...);
}
Thank you very much ... rep+

but about the .ini issue i spent a couple minutes searching and reading about the include but i dont understand the explanation
Reply


Messages In This Thread
SetObjectMaterial question - by 1fret - 01.04.2017, 22:21
Re: SetObjectMaterial question - by Jefff - 01.04.2017, 23:13
Re: SetObjectMaterial question - by 1fret - 01.04.2017, 23:58
Re: SetObjectMaterial question - by Jefff - 02.04.2017, 00:06
Re: SetObjectMaterial question - by 1fret - 02.04.2017, 00:36

Forum Jump:


Users browsing this thread: 1 Guest(s)