03.12.2014, 16:31
Hi all today im trying to use
public OnPlayerRequestClass( playerid, classid )
{
SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
SetPlayerPos(playerid, -3530.6016, 2383.2002, 45.6182);
SetPlayerFacingAngle(playerid, 179.8732);
SetPlayerCameraPos(playerid, -3530.5386, 2364.0100, 48.3573);
SetPlayerCameraLookAt(playerid,-3530.6016, 2383.2002, 45.6182);
SetPlayerSpecialAction(playerid, 6);
SetPlayerHealth(playerid, 1000000);
}
}
return 1;
}
i add objects with CreateDynamicObject when i select the class i don't see the objects what's wrong?
public OnPlayerRequestClass( playerid, classid )
{
SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
SetPlayerPos(playerid, -3530.6016, 2383.2002, 45.6182);
SetPlayerFacingAngle(playerid, 179.8732);
SetPlayerCameraPos(playerid, -3530.5386, 2364.0100, 48.3573);
SetPlayerCameraLookAt(playerid,-3530.6016, 2383.2002, 45.6182);
SetPlayerSpecialAction(playerid, 6);
SetPlayerHealth(playerid, 1000000);
}
}
return 1;
}
i add objects with CreateDynamicObject when i select the class i don't see the objects what's wrong?