Quote:
Originally Posted by Luis-
What is wrong with this?
pawn Код:
CMD:test(playerid, params[]) { new myobject; myobject = CreateObject(8397, 3629, 2112.9375, -2384.6172, 18.8828, 0.25); SetObjectMaterial(myobject, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF); return 1; }
Nice tutorial by the way 
|
you lose the intention of the script, you need to line return 1; with the rest, like this:
Quote:
CMD:test(playerid, params[])
{
new myobject;
myobject = CreateObject(8397, 3629, 2112.9375, -2384.6172, 18.8828, 0.25);
SetObjectMaterial(myobject, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
return 1;
}
|
now should work...