20.06.2011, 12:50
Hey, my dummy have wrong pos, what i need to edit, that i flip it , or smthing . I think you can understand, if you watch that . He have head down, but i wan't that head come up :
And the code is :
EDIT : WORK NOW !
pawn Код:
new Float:Mannekesed[ 10 ][ 4 ] = {
{4049.0042,-1289.8668,19.1622},
{4054.4561,-1294.1411,19.1622},
{4045.1902,-1289.4229,19.1622},
{4042.7917,-1297.1990,19.1622},
{4049.0718,-1286.3199,23.9532},
{4042.3945,-1298.1346,23.9153},
{4047.9133,-1283.9294,23.9552},
{4041.0920,-1286.6481,21.7111},
{4056.0940,-1290.7543,19.1622},
{4058.5779,-1281.9581,19.1622}
};
pawn Код:
public TObjectC(playerid)
{
new randPos = random( sizeof( Mannekesed ) );
new randObj = random(2);
Manneke = CreatePlayerObject(playerid, 1583 + randObj, Mannekesed[randPos][0], Mannekesed[randPos][1], Mannekesed[randPos][2], 150.0000, 5, 0, 100);
return 1;
}