SetObjectMaterial = Invisible
#1

Hello SA-MP.com, here I'm again asking for help this time no error's nothing, except that err.. my textured objects are invisible!?
I put texture code under OnPlayerConnect
Okay I won't post whole code here, but here is the part of it:
Код:
new tmpobjid;
tmpobjid = CreateObject(19401,-1680.893,671.764,25.628,0.000,0.000,90.000,500.000);
SetObjectMaterial(tmpobjid, 0, 4552, "ammu_lan2", "sl_lavicdtwall1", 0);
And when I compile I get no error's everything seems fine, here's what I get instead...
Reply
#2

Try putting it under gamemodeinit.
Reply
#3

It has to go under
pawn Код:
public OnGamemodeInit
Reply
#4

Thank you for pointing this out guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)